From 49d3e3dcc154ad7cd30a46ca5d41fb7084513972 Mon Sep 17 00:00:00 2001 From: Paulo Viana Date: Thu, 14 Mar 2024 00:12:24 -0400 Subject: [PATCH] Update find-successful-workflow.ts --- find-successful-workflow.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/find-successful-workflow.ts b/find-successful-workflow.ts index 788cbcc..0ea3a92 100644 --- a/find-successful-workflow.ts +++ b/find-successful-workflow.ts @@ -197,6 +197,7 @@ async function findMergeBaseRef(): Promise { 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);