Skip to content

[Security hardening] Pin remaining GitHub Actions to immutable commit SHAs #2439

@PascalThuet

Description

@PascalThuet

Summary

Some GitHub Actions workflows still reference mutable version tags such as actions/checkout@v4, actions/setup-python@v6, github/codeql-action/*@v4, and similar action tags.

Why

Pinning actions to immutable commit SHAs reduces supply-chain risk from tag movement or compromised upstream release tags. Some actions are already pinned in this repository, so this issue is about completing that hardening consistently.

Proposed direction

  • Replace remaining tag-based uses: references with commit SHAs.
  • Keep comments indicating the friendly version tag, for example # v4.
  • Let Dependabot continue to propose updates.

Acceptance criteria

  • All .github/workflows/*.yml action references are pinned to SHAs.
  • Existing workflow behavior is unchanged.
  • Comments preserve human-readable action versions where useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions