ci: run the required checks on the merge queue commit - #118
Merged
Conversation
No workflow listened for merge_group, so the queue tested a commit that nothing reported on and every queued pull request waited forever. PR #114 sat in the queue with all pull_request checks green. Add the event to CI, CodeQL, Workflow Lint and Dependency Review. Dependency Review reads the pull request for the two commits to compare and for a place to comment, and a queued run has neither, so it now names the commits from the merge_group event and posts nothing.
The trigger and the event expressions say what they do, and the why is plain from them.
lcottercertinia
approved these changes
Aug 12, 2026
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.
Why
No workflow listened for
merge_group. The merge queue tests the commit itbuilds, then waits for the required checks to report on it — and a check that
does not run on
merge_groupnever reports. So a queued pull request waitsforever. #114 sat in the queue with every
pull_requestcheck green.What
Add
merge_groupto CI, CodeQL, Workflow Lint and Dependency Review.publish.ymlis release-only and does not belong in the queue.Dependency Review reads the pull request both for the two commits to compare
and for a place to comment, and a queued run has neither. It now names the
commits from the
merge_groupevent, clones deep enough to hold them, andposts nothing.
cancel-in-progressis alreadygithub.event_name == 'pull_request', so aqueued run is never cancelled. No change needed there.
Testing
actionlintandzizmorrun in the Workflow Lint job on this pull request.