Repository navigation
ci: run required workflows for merge groups - #2240
Merged
Gavin Barron (gavinbarron) merged 2 commits intoNov 9, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: db7b6607-701f-4239-8458-c841b7bb0bec
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the changes enabling required workflow checks on merge-queue groups.
No open issues 🎉
What changed in this PR
Enables the three workflows that produce required Actions checks to run for merge-queue groups, so queued changes can receive those checks.
Changes:
- Adds
merge_groupwithtypes: [checks_requested]to the build, API-level lint, and CodeQL workflows. - Leaves existing triggers, jobs, branch rules, and the external CLA check unchanged.
| File | Description |
|---|---|
.github/workflows/codeql.yml |
Enables CodeQL analysis for merge groups. |
.github/workflows/build.yml |
Enables Gradle build and tests for merge groups. |
.github/workflows/api-level-lint.yml |
Enables API-level compatibility checks for merge groups. |
Review effort: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: db7b6607-701f-4239-8458-c841b7bb0bec
|
Gavin Barron (gavinbarron)
approved these changes
Nov 9, 2026
Gavin Barron (gavinbarron)
deleted the
copilot/merge-group-java-20261109
branch
November 9, 2026 18:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Add plain
merge_group:triggers (null value, without an explicittypesrestriction) to the three workflows producing required Actions checks. Existing jobs have no PR-only event conditions or payload references and already use the checked-out event revision, so no job changes are needed.Required-check evidence
Reviewed recent merged PR #2237 (merged November 5, 2026).
gh pr checks 2237 --requiredand the effective rules endpoint (repos/microsoft/kiota-java/rules/branches/main, active ruleset 26719695) agree on these required checks:build.github/workflows/build.yml(Gradle Build And Test)lint-api-level.github/workflows/api-level-lint.ymlAnalyze (java).github/workflows/codeql.yml(CodeQL)license/claRun metadata confirms the three workflow paths. Other observed checks (including
Build, SonarCloud and changelog guard) are not required by the effective status-check rules and are intentionally unchanged. No rules or merge settings are changed.Validation
origin/main, original checkout/index left unchanged.git diff --check: passed.merge_group:trigger line added per workflow; no PR-only event/payload coupling.inputs.componentNamein build.yml. With only that exact diagnostic ignored, all three changed workflows pass. This unrelated issue is not changed here.Limits
Classic branch protection endpoint returned HTTP 404, but effective branch rules and required PR checks were accessible and consistent. External CLA merge-queue behavior is not controlled by these workflows. Actual merge-group execution must be verified when queued after landing; this PR does not merge or enqueue anything.