Skip to content

Add CI result gate job as the single required check - #28

Merged
back-2-95 merged 1 commit into
mainfrom
ci-gate-job
Nov 22, 2026
Merged

back-2-95 merged 1 commit into
mainfrom
ci-gate-job

Conversation

@back-2-95

Copy link
Copy Markdown
Contributor

README-only PRs (like #27) were blocked forever: branch protection required the `Build php-84/85 …` checks, but the workflow's `pull_request` paths filter meant they never ran. The required list was also stale (no php-86 or drupal targets).

  • Removed the `paths` filter from `pull_request`; a `changes` job checks the diff for image files and the builds are skipped when there are none
  • New `CI result` job (`if: always()`) passes when `changes` succeeded and `build` succeeded or was skipped
  • `push` to main keeps its paths filter; schedule/manual always build
  • CLAUDE.md CI section updated

After merge, branch protection should require only `CI result`.

🤖 Generated with Claude Code

Required Build checks never reported on PRs outside the workflow's paths
filter (e.g. README-only), blocking merges. The workflow now runs on every
PR, skips builds when no image files changed, and a CI result job reports
the overall outcome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@back-2-95
back-2-95 merged commit 0c2a07a into main Nov 22, 2026
19 checks passed
@back-2-95
back-2-95 deleted the ci-gate-job branch November 22, 2026 12:28
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