Repository navigation
chore(ci): cancel stale PR runs, cache Composer and Docker layers, review dependencies - #32
Merged
Merged
Conversation
…view dependencies The tests workflow now cancels a pull request run when a newer commit arrives, restores Composer downloads keyed by composer.lock, and builds the CI image through Buildx with the GitHub Actions layer cache on the same linux-amd64 scope the docker workflow uses, so a tag build starts from the layers the last run on main produced. A dependency review workflow fails a pull request that adds a dependency with a known vulnerability of high severity or above, the same threshold as the Composer and pnpm audits. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The Dockerfile pulls FrankenPHP, Node and Composer by floating tag, and docker-compose.yml pulls Postgres and Redis the same way. Nothing watched them, so a base image update could change the shipped image without a commit here. Co-Authored-By: Claude Fable 5.1 <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.
Summary
tests.yml: a new push to a pull request cancels the run for the previous commit; runs onmainare never cancelled.tests.yml: Composer downloads are cached, keyed bycomposer.lock.tests.yml: the Docker job builds through Buildx with the GitHub Actions layer cache, on the samelinux-amd64scope thedockerworkflow uses, so a tag build starts from the layers the last run onmainproduced.dependency-review.yml: new. Fails a pull request that adds a dependency with a known vulnerability of high severity or above, the same threshold as the existingcomposer auditandpnpm audit --audit-level=high.docker.yml: a shellcheck directive on the intentional word splitting, soactionlintruns clean across all workflows.Test plan
actionlintpasses on all three workflowstestsworkflow passes on this PR (first run warms the caches)dependency reviewworkflow passes on this PR🤖 Generated with Claude Code