gh-find-current-pr
gh-find-current-pr copied to clipboard
Does not work with `merge_group` trigger
merge_group is the trigger used for the Merge Queue feature.
See
- https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue
- https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group
- https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group
steps.find_pr.outputs.pr will be empty
See https://github.com/community/community/discussions/46757#discussioncomment-5249568 for a way to make this work