Skip to content

CI: Run Validate on merge_group - #678

Merged
bupd merged 1 commit into
mainfrom
fix-validate-merge-group
Sep 22, 2026
Merged

bupd merged 1 commit into
mainfrom
fix-validate-merge-group

Conversation

@bupd

@bupd bupd commented Sep 22, 2026

Copy link
Copy Markdown
Member

Main ruleset requires the validate status check. Merge queue builds a gh-readonly-queue/main/* branch and fires merge_group, which validate.yml only listened to pull_request. Check never reported on the queue branch, so #665 and #668 sat in AWAITING_CHECKS until the 1h checkResponseTimeout dropped them.

Adds merge_group: trigger. Job id stays validate, matches the required context. git diff origin/main...HEAD in the changed-packages step works on the queue branch too.

After this lands, #665 and #668 need to be re-queued.

🤖 Generated with Claude Code

Main ruleset requires the `validate` status check. Merge queue builds
a gh-readonly-queue branch and emits merge_group, which validate.yml
did not listen to, so the check never reported and every queued PR
sat in AWAITING_CHECKS until the 1h timeout kicked it out.

Signed-off-by: Prasanth Baskar <prasanth@8gears.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 22, 2026 17:04
@bupd
bupd enabled auto-merge September 22, 2026 17:04
@bupd
bupd added this pull request to the merge queue Sep 22, 2026
Merged via the queue into main with commit d2c881c Sep 22, 2026
2 of 3 checks passed
@bupd
bupd deleted the fix-validate-merge-group branch September 22, 2026 17:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The required merge queue trigger is added without changing existing validation logic.

Review effort: Lite
Findings: None

What changed in this PR

Updates the validation workflow to run on GitHub merge queue events, ensuring the required validate check is reported.

Changes:

  • Adds the merge_group trigger.
  • Preserves the existing validation job and context.
File Description
.github/​workflows/​validate.yml Enables validation on merge-group events.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants