Skip to content

Pin GitHub Actions to commit SHAs for supply-chain security #1519

Description

@ysknsid25

Describe the feature

GitHub Actions referenced by mutable tags (e.g. actions/checkout@v6) are vulnerable to supply-chain attacks: anyone with write access to the action's repository can force-push the tag to point at malicious code, and consumers will silently pull it on the next workflow run.

Also, actions/checkout@v5 is quite outdated (the latest is @7), so I will update it to the latest version as well.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions