Skip to content

Commit

Permalink
Update find-successful-workflow.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo9mv authored Mar 14, 2024
1 parent 5b51ae1 commit 49d3e3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions find-successful-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ async function findMergeBaseRef(): Promise<string> {

function findMergeQueuePr(): string {
const { head_ref, base_sha } = github.context.payload.merge_group;
console.log({ head_ref, base_sha })
const result = new RegExp(
`^refs/heads/gh-readonly-queue/${mainBranchName}/pr-(\\d+)-${base_sha}$`
).exec(head_ref);
Expand Down

0 comments on commit 49d3e3d

Please sign in to comment.