Skip to content

githubactions checker: verify pinned tag is an immutable release before trusting it #6

Description

@algomaster99

pkg/githubactions (#5) compares uses: tag pins against the latest tag name from ecosyste.ms, but a tag is mutable by default — it can be repointed to a different commit after the fact. ecosyste.ms's package/version schema has no immutability field, so it can't tell us.

GitHub's Immutable Releases feature makes this checkable: GET /repos/{owner}/{repo}/immutable-releases (repo enabled?) and a release's immutable/isImmutable field (this release locked?).

Before recommending a tag pin, the checker should confirm the action's release is actually immutable (via the GitHub API, not ecosyste.ms) — otherwise it's steering users toward a pin that looks safe but isn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions