Skip to content

ci: verify the release tag before running its scripts #446

Closed

Description

@uniqueg

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

  1. added
    priority: low
    status: triage
    type: ci / cd
    workload: hours
    status: in progress
    and removed
    status: triage
    on Nov 6, 2026
  2. removed
    status: in progress
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowtype: ci / cdworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions