Skip to content

Add merge_group trigger to required checks to prepare for merge queue#3511

Open
henrymercer wants to merge 2 commits intomainfrom
henrymercer/merge-queue
Open

Add merge_group trigger to required checks to prepare for merge queue#3511
henrymercer wants to merge 2 commits intomainfrom
henrymercer/merge-queue

Conversation

@henrymercer
Copy link
Contributor

This is needed to trigger required checks on PRs when they are added to the merge queue.

@henrymercer henrymercer requested a review from a team as a code owner February 25, 2026 15:13
Copilot AI review requested due to automatic review settings February 25, 2026 15:13
@github-actions github-actions bot added the size/XS Should be very easy to review label Feb 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the merge_group event trigger to the repo’s required GitHub Actions checks so they also run when PRs enter the merge queue.

Changes:

  • Update the PR-checks workflow generator (pr-checks/sync.py) to emit merge_group in generated required-check workflows.
  • Add merge_group triggers to several manually maintained workflows under .github/workflows/.
  • Regenerate the __*.yml generated workflows to include the new trigger.

Reviewed changes

Copilot reviewed 66 out of 66 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pr-checks/sync.py Adds merge_group to the generated workflow on: header so merge queue can trigger checks.
.github/workflows/test-codeql-bundle-all.yml Enables merge_group triggering for this required check workflow.
.github/workflows/query-filters.yml Enables merge_group triggering for this workflow.
.github/workflows/python312-windows.yml Enables merge_group triggering for this workflow.
.github/workflows/pr-checks.yml Enables merge_group triggering for PR checks workflow.
.github/workflows/debug-artifacts-safe.yml Enables merge_group triggering for debug artifact upload checks.
.github/workflows/debug-artifacts-failure-safe.yml Enables merge_group triggering for debug artifact failure-path checks.
.github/workflows/codescanning-config-cli.yml Enables merge_group triggering for config CLI tests.
.github/workflows/codeql.yml Enables merge_group triggering for CodeQL action workflow checks.
.github/workflows/check-expected-release-files.yml Enables merge_group triggering for the release-file existence check.
.github/workflows/__with-checkout-path.yml Regenerated workflow to include merge_group.
.github/workflows/__upload-sarif.yml Regenerated workflow to include merge_group.
.github/workflows/__upload-ref-sha-input.yml Regenerated workflow to include merge_group.
.github/workflows/__unset-environment.yml Regenerated workflow to include merge_group.
.github/workflows/__swift-custom-build.yml Regenerated workflow to include merge_group.
.github/workflows/__swift-autobuild.yml Regenerated workflow to include merge_group.
.github/workflows/__submit-sarif-failure.yml Regenerated workflow to include merge_group.
.github/workflows/__start-proxy.yml Regenerated workflow to include merge_group.
.github/workflows/__split-workflow.yml Regenerated workflow to include merge_group.
.github/workflows/__rust.yml Regenerated workflow to include merge_group.
.github/workflows/__ruby.yml Regenerated workflow to include merge_group.
.github/workflows/__rubocop-multi-language.yml Regenerated workflow to include merge_group.
.github/workflows/__resolve-environment-action.yml Regenerated workflow to include merge_group.
.github/workflows/__remote-config.yml Regenerated workflow to include merge_group.
.github/workflows/__packaging-inputs-js.yml Regenerated workflow to include merge_group.
.github/workflows/__packaging-config-js.yml Regenerated workflow to include merge_group.
.github/workflows/__packaging-config-inputs-js.yml Regenerated workflow to include merge_group.
.github/workflows/__packaging-codescanning-config-inputs-js.yml Regenerated workflow to include merge_group.
.github/workflows/__overlay-init-fallback.yml Regenerated workflow to include merge_group.
.github/workflows/__multi-language-autodetect.yml Regenerated workflow to include merge_group.
.github/workflows/__local-bundle.yml Regenerated workflow to include merge_group.
.github/workflows/__language-aliases.yml Regenerated workflow to include merge_group.
.github/workflows/__job-run-uuid-sarif.yml Regenerated workflow to include merge_group.
.github/workflows/__javascript-source-root.yml Regenerated workflow to include merge_group.
.github/workflows/__init-with-registries.yml Regenerated workflow to include merge_group.
.github/workflows/__go-tracing-legacy-workflow.yml Regenerated workflow to include merge_group.
.github/workflows/__go-tracing-custom-build-steps.yml Regenerated workflow to include merge_group.
.github/workflows/__go-tracing-autobuilder.yml Regenerated workflow to include merge_group.
.github/workflows/__go-indirect-tracing-workaround.yml Regenerated workflow to include merge_group.
.github/workflows/__go-indirect-tracing-workaround-no-file-program.yml Regenerated workflow to include merge_group.
.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml Regenerated workflow to include merge_group.
.github/workflows/__go-custom-queries.yml Regenerated workflow to include merge_group.
.github/workflows/__global-proxy.yml Regenerated workflow to include merge_group.
.github/workflows/__extractor-ram-threads.yml Regenerated workflow to include merge_group.
.github/workflows/__export-file-baseline-information.yml Regenerated workflow to include merge_group.
.github/workflows/__diagnostics-export.yml Regenerated workflow to include merge_group.
.github/workflows/__cpp-deptrace-enabled.yml Regenerated workflow to include merge_group.
.github/workflows/__cpp-deptrace-enabled-on-macos.yml Regenerated workflow to include merge_group.
.github/workflows/__cpp-deptrace-disabled.yml Regenerated workflow to include merge_group.
.github/workflows/__config-input.yml Regenerated workflow to include merge_group.
.github/workflows/__config-export.yml Regenerated workflow to include merge_group.
.github/workflows/__cleanup-db-cluster-dir.yml Regenerated workflow to include merge_group.
.github/workflows/__bundle-zstd.yml Regenerated workflow to include merge_group.
.github/workflows/__bundle-toolcache.yml Regenerated workflow to include merge_group.
.github/workflows/__bundle-from-toolcache.yml Regenerated workflow to include merge_group.
.github/workflows/__bundle-from-nightly.yml Regenerated workflow to include merge_group.
.github/workflows/__build-mode-rollback.yml Regenerated workflow to include merge_group.
.github/workflows/__build-mode-none.yml Regenerated workflow to include merge_group.
.github/workflows/__build-mode-manual.yml Regenerated workflow to include merge_group.
.github/workflows/__build-mode-autobuild.yml Regenerated workflow to include merge_group.
.github/workflows/__autobuild-working-dir.yml Regenerated workflow to include merge_group.
.github/workflows/__autobuild-direct-tracing-with-working-dir.yml Regenerated workflow to include merge_group.
.github/workflows/__autobuild-action.yml Regenerated workflow to include merge_group.
.github/workflows/__analyze-ref-input.yml Regenerated workflow to include merge_group.
.github/workflows/__analysis-kinds.yml Regenerated workflow to include merge_group.
.github/workflows/__all-platform-bundle.yml Regenerated workflow to include merge_group.
Comments suppressed due to low confidence (1)

.github/workflows/codeql.yml:14

  • This workflow contains logic that treats non-pull_request events differently (e.g., the check-codeql-versions step uses $GITHUB_EVENT_NAME != "pull_request" to potentially reduce the matrix). After adding merge_group, merge-queue runs will follow the non-PR path, which can drop the "linked" bundle run and prevent required check names from being created. Consider treating merge_group the same as pull_request in that conditional (and optionally set merge_group: { types: [checks_requested] }).

@github-actions github-actions bot added size/S Should be easy to review and removed size/XS Should be very easy to review labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Should be easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants