CI: add requireable aggregate/no-op checks for branch protection - #984
Merged
Conversation
Collapses the many fanned-out integ-test checks into a single 'integ-test-success' check that can be used as a required status check, since GitHub required checks match by exact name (no wildcards). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Removes the workflow-level pull_request paths filter so the workflow always runs and reports a status check (safe to mark as a required check). Relevant- change detection moves into the job via tj-actions/changed-files: on PRs the Java/Gradle/test steps run only when init-script files changed, otherwise the job is a fast no-op that still succeeds. Push and workflow_dispatch runs execute fully as before. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Prepares CI so a small, stable set of required status checks can be enabled (which in turn unlocks auto-merge), instead of having to list every fanned-out matrix job. GitHub required checks match by exact name — no wildcards — so this reduces the surface to a handful of high-level checks.
Changes
ci-integ-test.yml: add an aggregate gate jobinteg-test-successthatneeds:all four top-level jobs (the three suite jobs each wrap a reusable workflow that fans out into many nested checks) and fails if any did not succeed.if: always()ensures it reports even when a dependency fails. This collapses dozens of nested integ-test checks into a single requireable check.ci-init-script-check.yml: remove the workflow-levelpull_request.pathsfilter so the workflow runs on every PR and always reports a status check (previously it was absent on most PRs, which would deadlock a required check). Relevant-change detection moves into the job viatj-actions/changed-files(same pinned action already used byci-check-no-dist-update.yml). On a PR the Java/Gradle/test steps run only when init-script files changed; otherwise the job is a fast no-op that still succeeds. Push andworkflow_dispatchruns execute fully as before.Suggested required-check set (all run on every PR, none can deadlock)
CI-check-and-unit-test / check-format-and-unit-testci-validate-typings.yml / validate-typingsCI-validate-wrappers / validationCI-codeql / Analyze (javascript-typescript)CI-integ-test / integ-test-successCI-init-script-check / test-init-scriptsci-check-no-dist-updateis intentionally omitted — it only runs ondist/**edits and is designed to fail, so it shouldn't be a required gate.🤖 Generated with Claude Code