Skip to content

Handle merge queue events in release job gating#382

Merged
ianpittwood merged 2 commits intomainfrom
copilot/update-if-statement-release-job
Mar 12, 2026
Merged

Handle merge queue events in release job gating#382
ianpittwood merged 2 commits intomainfrom
copilot/update-if-statement-release-job

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

ci.yml already listens to merge_group, but the release job condition did not include that event, so release/snapshot execution was skipped for merge queue runs. This updates the job gate to treat merge_group consistently with existing PR/tag-triggered behavior.

  • Workflow condition update

    • Updated .github/workflows/ci.yml jobs.release.if to include github.event_name == 'merge_group'.
    • Kept existing tag-push (refs/tags/v*) and pull_request logic unchanged.
  • Resulting behavior

    • release now runs for:
      • version tag pushes
      • pull requests
      • merge queue (merge_group) events
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') || github.event_name == 'pull_request' || github.event_name == 'merge_group')
Original prompt

Update the if statement of the release job in ci.yml to account for merge group events. Create a new branch and pull request for the change.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: ianpittwood <9877347+ianpittwood@users.noreply.github.com>
Copilot AI changed the title [WIP] Update if statement for merge group events in release job Handle merge queue events in release job gating Mar 11, 2026
@github-actions
Copy link

Test Results

1 183 tests   1 183 ✅  13m 5s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit 9d3203b.

@ianpittwood ianpittwood marked this pull request as ready for review March 12, 2026 01:30
@ianpittwood ianpittwood enabled auto-merge March 12, 2026 01:30
@ianpittwood ianpittwood disabled auto-merge March 12, 2026 01:32
@ianpittwood ianpittwood merged commit c163a76 into main Mar 12, 2026
14 checks passed
@ianpittwood ianpittwood deleted the copilot/update-if-statement-release-job branch March 12, 2026 01:33
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