Repository navigation
Conversation
server#972 adds a `release` job to native-release.yml, which creates the GitHub Release with `contents: write`. It runs in dockerhub-native, needs plan, and carries the exact tag-ref predicate, like the four publishing jobs. The binding now names it, and the tag-dispatch fixture includes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Withdrawn: Security and General decided not to widen the tag-dispatch binding. server#972 will move GitHub Release creation to a protected main-only phase instead. |
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.



Review tier A: CI trust. It adds a
contents: writejob to the reviewed tag-dispatch binding.server#972 adds a
releasejob tonative-release.yml. It creates the GitHub Release for the tag (title is the version; Latest only when the live registrylatestalias names this release's index), under the rolling-alias lock. Like the four publishing jobs, it has:environment: dockerhub-nativeneeds: [plan, publish, aliases]github.ref == format('refs/tags/{0}', inputs.tag)predicatecontents: write,packages: readThe central preflight refuses it today ("privileged workflow_dispatch job 'release' can run outside refs/heads/main"), because the binding lists only
aliases,build-amd64,build-arm64andpublish.Change
qualification/policy.json: theserver/native-release.ymlbinding'sjobsaddsrelease.tests/test_qualification_policy.py: the tag-dispatch fixture adds areleasejob withcontents: write, and the admitted-jobs assertion includes it. The existing loosened-gate, wrong-environment, missing-plan, unlisted-job and other-workflow refusals now also cover it.Checked
validate --target serverpasses on server#972's head and fails on current servermain: "missing policy-bound tag dispatch jobs ['release']".Sequencing
The binding requires every listed job to be present. Once this merges, server
mainand every other server PR fail the preflight until server#972 merges, so the two must land together, the way #283 landed with server#957. Keep this draft until server#972 is cleared.🤖 Generated with Claude Code