Skip to content

ci: add merge_group trigger to Build & Test & Lint#602

Merged
corinagum merged 1 commit into
mainfrom
cg/merge-queue
May 28, 2026
Merged

ci: add merge_group trigger to Build & Test & Lint#602
corinagum merged 1 commit into
mainfrom
cg/merge-queue

Conversation

@corinagum

Copy link
Copy Markdown
Collaborator

Summary

  • Adds merge_group: to the on: triggers of .github/workflows/build-test-lint.yml so the workflow runs on gh-readonly-queue/* refs created by GitHub's merge queue.
  • No behavior change until a merge queue is enabled on the main ruleset; the trigger is dormant otherwise.
  • Prereq for turning on "Require merge queue" — without this, the required Build & Test & Lint (24.x) check would never report on queued PRs and the queue would stall.

Test plan

  • Confirm CI still runs as expected on this PR (pull_request trigger unchanged)
  • After merge, enable "Require merge queue" on the main ruleset and verify the workflow fires against the queue's temporary refs

Enables the Build & Test & Lint workflow to run on merge queue events
so the required status check can report on `gh-readonly-queue/*` refs
once a merge queue is enabled on the `main` ruleset. No effect until
the queue is turned on.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings May 28, 2026 19:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables the existing Build & Test & Lint workflow to run for GitHub Merge Queue temporary refs by adding the merge_group event trigger, ensuring required checks can report on queued PRs.

Changes:

  • Add merge_group: to the workflow’s on: triggers so CI runs for merge queue entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@corinagum
corinagum merged commit b00ec5a into main May 28, 2026
7 checks passed
@corinagum
corinagum deleted the cg/merge-queue branch May 28, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants