Skip to content

chore(ci): add merge queue triggers#142

Merged
abn merged 1 commit into
mainfrom
copilot/configure-ci-workflows
Jun 19, 2026
Merged

chore(ci): add merge queue triggers#142
abn merged 1 commit into
mainfrom
copilot/configure-ci-workflows

Conversation

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Merge queue entries were not starting the required CI workflow, so protected branches using merge queues could stall waiting for checks that never reported. This updates the main CI workflow to run on merge-group refs in addition to the existing PR and push paths.

  • What changed

    • Added the merge_group trigger to /home/runner/work/cli/cli/.github/workflows/ci.yml.
    • Scoped it to checks_requested, which is the event GitHub emits when a PR is added to the merge queue.
  • Behavioral impact

    • The existing required CI jobs now run for merge queue validation without changing their job graph or publish conditions.
    • Required checks can report against merge-group SHAs, allowing branch protection with merge queues to progress normally.
  • Workflow snippet

    on:
      pull_request:
        branches: [main]
      merge_group:
        types: [checks_requested]

Copilot AI assigned Copilot and abn Jun 19, 2026
@abn
abn marked this pull request as ready for review June 19, 2026 23:20
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 19, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 19, 2026
@abn abn changed the title Add merge queue trigger to CI workflow chore(ci): add merge queue triggers Jun 19, 2026
@abn
abn merged commit 8885649 into main Jun 19, 2026
6 checks passed
@abn
abn deleted the copilot/configure-ci-workflows branch June 19, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants