You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: verify the release tag before running its scripts #446
In release.yml, the step "Check release tag and commit" runs scripts/release_version.py from the tagged commit before it checks that the tag is annotated, has a signature GitHub verified, and points to a commit on main, and the step's environment holds GH_TOKEN. Code from the tag should run only after the tag has passed those checks.
Pubgrade-Sidecar's new release workflow (elixir-cloud-aai/Pubgrade-Sidecar#37) splits this into a "Check release tag and commit" step that runs no code from the tag, followed by a "Derive release version" step without the token.
Acceptance criteria
The tag checks (annotated, verified signature, commit on main) run in a step that executes no code from the tagged commit.
Scripts from the tagged commit run only after those checks, in steps whose environment has no token they don't need.
The workflow's header comment and docs/development.md (if it describes the steps) match.
Activity