Skip to content

fix: fall back to master workflows ref for merge-queue refs#17

Closed
Aniruddha-Shriwant wants to merge 1 commit into
masterfrom
fix-merge-queue-workflows-ref
Closed

fix: fall back to master workflows ref for merge-queue refs#17
Aniruddha-Shriwant wants to merge 1 commit into
masterfrom
fix-merge-queue-workflows-ref

Conversation

@Aniruddha-Shriwant

Copy link
Copy Markdown
Contributor

github.workflow_ref on merge_group events resolves to the caller's refs/heads/gh-readonly-queue/* ref, which does not exist in the workflows repository. The validator-script checkout then fails with git exit code 1 and dequeues the PR from the merge queue.

Treat merge-queue refs like refs/pull/* and fall back to master.

github.workflow_ref on merge_group events resolves to the caller's
refs/heads/gh-readonly-queue/* ref, which does not exist in the
workflows repository. The validator-script checkout then fails with
git exit code 1 and dequeues the PR from the merge queue.

Treat merge-queue refs like refs/pull/* and fall back to master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant