ci: trigger check workflows on merge_group for the merge queue#516
Merged
Conversation
Merge queues run required checks on the merge_group event; a workflow without that trigger never reports, so the queue would stall exactly the way path-filtered required checks stalled PRs (#507's lesson). CodeQL runs default setup, which handles merge groups natively.
creatornader
enabled auto-merge (squash)
July 14, 2026 19:54
creatornader
disabled auto-merge
July 14, 2026 19:54
creatornader
enabled auto-merge (squash)
July 14, 2026 19:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Precondition for enabling the GitHub merge queue on main (operator-approved): the queue runs required checks on
merge_groupevents, and none of the three workflows behind the twelve required contexts declared that trigger, which would stall every queue entry. Addsmerge_group:to ci.yml, python-sdk.yml, and security-scan.yml. The CodeQL / Analyze contexts come from default setup, which supports merge groups natively. The queue ruleset gets created after this merges; this PR itself merges under the current rules.