Repository navigation
security: scan the image on release pull requests - #9
Merged
Merged
Conversation
added 3 commits
October 24, 2026 21:32
Private repositories skip the image build on pull requests to save Actions minutes. Release pull requests are the exception: their title 'release <name> v<x>' is held to a rising version by release-intent.yml, so the image that the merge publishes is scanned before the merge.
release.yml starts on a merge whose message starts with 'release ', and GitHub compares that case-insensitively. The intent check now refuses exactly those titles when the version file is unchanged, so such a pull request cannot merge into a red release run.
The built-in GitHub Actions app cannot bypass a tag ruleset, so only a dedicated GitHub App may create v* tags. The tag job runs in the caller's release environment (deployments from main only) and mints a token for the contents of that one repository. Callers grant contents: read only.
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.
Private repositories skip the image build on pull requests (Actions minutes). Release pull requests now build and scan the image too: their title
release <name> v<x>is held to a rising version byrelease-intent.yml, so the image that the merge publishes is scanned before the merge.No new input; callers keep their
image-on. README gating section updated.