Skip to content

chore(ci): drop merge_group trigger from optional workflows#3036

Merged
caio-pizzol merged 1 commit into
mainfrom
caio-pizzol/ci-merge-group-audit
Apr 30, 2026
Merged

chore(ci): drop merge_group trigger from optional workflows#3036
caio-pizzol merged 1 commit into
mainfrom
caio-pizzol/ci-merge-group-audit

Conversation

@caio-pizzol

Copy link
Copy Markdown
Contributor

Only ci-superdoc.yml and ci-behavior.yml are required checks. The other 11 workflows in .github/workflows/ci-*.yml plus visual-test.yml are optional and gate themselves on pull_request via path filters, but path filters don't apply to merge_group events. Today merge queue isn't enabled so this is harmless, but the moment it gets turned on every queue entry would fire all 11 regardless of changed paths.

  • Required workflows (ci-superdoc, ci-behavior) keep merge_group; they need to validate the merge candidate
  • Optional workflows continue to run on PR only, gated by their existing paths filters
  • Pre-work for any future merge queue pilot

Only ci-superdoc.yml and ci-behavior.yml are required checks (per the
require-ci ruleset). The other 11 workflows are optional and gate
themselves by paths on pull_request, but workflow-level paths filters
do not apply to merge_group events. Today this is harmless because
merge queue is not enabled, but the moment it gets turned on every
queue entry would fire all 11 of these regardless of changed paths,
multiplying CI cost.

Removing merge_group from each so they continue to gate on PR only.
The required workflows (ci-superdoc, ci-behavior) keep merge_group
since they need to validate the merge candidate.
@caio-pizzol
caio-pizzol requested a review from a team as a code owner April 30, 2026 22:08
@caio-pizzol
caio-pizzol merged commit 9749e97 into main Apr 30, 2026
17 checks passed
@caio-pizzol
caio-pizzol deleted the caio-pizzol/ci-merge-group-audit branch April 30, 2026 22:11
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.

1 participant