Skip to content

Pin GitHub Actions to commit SHAs in workflows (supply-chain hardening) #275

@frankbria

Description

@frankbria

Description

Raised by CodeRabbit and claude-review on PR #274: the uses: entries in .github/workflows/*.yml (e.g. actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact, codecov/codecov-action) reference mutable version tags instead of full commit SHAs.

PR #274 added a least-privilege permissions: contents: read block to test.yml; SHA-pinning was deferred as out of scope for the E2E test work.

Tasks

  • Pin every external action in .github/workflows/test.yml to a full commit SHA (with a tag comment, e.g. # v3)
  • Apply the same to claude.yml and claude-code-review.yml
  • Consider adding Dependabot/Renovate config to keep pinned SHAs updated

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions