Skip to content

[plan] Fix unpinned action reference in release.md workflow #9992

Closed

Description

@github-actions

Objective

Pin the unpinned action reference to a specific commit SHA in .github/workflows/release.md to prevent supply chain security vulnerabilities.

Context

Severity: High
Tool: zizmor
Issue: Actions referenced by tag instead of commit SHA can be compromised
Reference: https://docs.zizmor.sh/audits/#unpinned-uses

Unpinned action references pose a supply chain security risk. If an action maintainer's account is compromised or a tag is moved, malicious code could be injected into the workflow.

Approach

  1. Review .github/workflows/release.md to identify the unpinned action
  2. Look up the current commit SHA for the action version being used
  3. Replace the tag-based reference (e.g., @v1) with commit SHA (e.g., @abc123...)
  4. Add a comment indicating what version the SHA corresponds to
  5. Optionally configure Dependabot to keep pinned actions updated

Files to Modify

  • .github/workflows/release.md

Example Fix

Before:

- uses: actions/checkout@v4

After:

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

Acceptance Criteria

  • Action reference is pinned to a specific commit SHA
  • Comment added indicating the version the SHA corresponds to
  • Workflow compiles successfully with make recompile
  • Zizmor scan no longer reports unpinned-uses for release.md
  • No functionality is broken by the change

Testing

# Verify the workflow compiles
make build
./gh-aw compile .github/workflows/release.md

# Run zizmor to verify the fix
zizmor .github/workflows/release.lock.yml

Related to #9990

AI generated by Plan Command for discussion #9966

Activity

  1. github-actions commented on Jan 15, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster has assigned this to Copilot!

    I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.

    The Copilot agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    AI generated by Issue Monster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions