Add unified allBuildAndTestSuccessful CI check by andimarek · Pull Request #4294 · graphql-java/graphql-java · GitHub
Skip to content

Add unified allBuildAndTestSuccessful CI check#4294

Merged
andimarek merged 1 commit into
masterfrom
claude/add-unified-build-check-VxknY
Mar 5, 2026
Merged

Add unified allBuildAndTestSuccessful CI check#4294
andimarek merged 1 commit into
masterfrom
claude/add-unified-build-check-VxknY

Conversation

@andimarek

Copy link
Copy Markdown
Member

Summary

  • Adds a new allBuildAndTestSuccessful job to both pull_request.yml and master.yml workflows
  • The job depends on all other build/test jobs and fails if any dependency failed, providing a single unified green/red status check
  • This can be configured as the sole required status check in branch protection rules, simplifying merge gating

Details

pull_request.ymlallBuildAndTestSuccessful depends on:

  • buildAndTest (matrix: check, java11, java17, java21, java25)
  • test-summary (allowed to be skipped on non-PR push events)
  • javadoc

master.ymlallBuildAndTestSuccessful depends on:

  • buildAndTest (matrix: check, java11, java17, java21, java25)
  • update-baseline
  • javadoc
  • publishToMavenCentral

The job uses if: always() to ensure it runs even when dependencies fail, and explicitly checks each dependency's result to produce a clear pass/fail.

Test plan

  • Verify the workflow YAML is valid by checking the Actions tab after push
  • Confirm allBuildAndTestSuccessful appears as a status check on this PR
  • Optionally configure branch protection to require allBuildAndTestSuccessful

https://claude.ai/code/session_01353Dv2D47pHrj45ExnLxmc

Add a new job `allBuildAndTestSuccessful` to both pull_request.yml and
master.yml that depends on all other build and test jobs. This provides
a single unified status check that can be used as a required check in
branch protection rules to verify the entire build is green.

https://claude.ai/code/session_01353Dv2D47pHrj45ExnLxmc
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

@andimarek andimarek merged commit 0b8d2ae into master Mar 5, 2026
10 checks passed
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.

2 participants