Skip to content

Require the build checks before merging - #486

Merged
ppkarwasz merged 1 commit into
fix/pmd-7-violation-ceilingsfrom
fix/require-build-checks
Jul 31, 2026
Merged

Require the build checks before merging#486
ppkarwasz merged 1 commit into
fix/pmd-7-violation-ceilingsfrom
fix/require-build-checks

Conversation

@ppkarwasz

Copy link
Copy Markdown
Member

Stacked on the PMD ceilings fix (base: fix/pmd-7-violation-ceilings); retarget to trunk once that PR merges.

Auto-merged Dependabot PRs landed on trunk with a failing build, because the build workflow was not a required status check (only CodeQL was). This adds the three platform jobs of the reusable build workflow to the branch protection ruleset in .asf.yaml, so auto-merge waits for a green build:

  • build / build (macos-latest)
  • build / build (ubuntu-latest)
  • build / build (windows-latest)

The check names match the job names reported by the build workflow on PRs (reusable workflow jobs report as <caller job> / <job> (<matrix>)).

One caveat: TestExecSource.testBatchTimeout is known to be flaky on windows-latest, so requiring that job may occasionally need a re-run before auto-merge proceeds.

Auto-merged Dependabot PRs landed on trunk with a failing build,
because the `build` workflow was not a required check.
Require all three platform jobs, so auto-merge waits for them.

Assisted-By: Claude Fable 5 <noreply@anthropic.com>
@ppkarwasz
ppkarwasz force-pushed the fix/require-build-checks branch from 714d5dd to 8e47aa0 Compare July 31, 2026 22:18
@ppkarwasz
ppkarwasz merged commit 3574879 into trunk Jul 31, 2026
11 checks passed
@ppkarwasz
ppkarwasz deleted the fix/require-build-checks branch July 31, 2026 22:49
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