Skip to content

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented Oct 27, 2025

Description

Pins all 3rd party GitHub Actions to specific commit hashes instead of version tags.

Each pinned action includes an inline comment with the resolved version number for reference.

Motivation

Security best practice to pin actions to immutable commit hashes, preventing potential supply chain attacks from compromised action versions or tag hijacking.

Additional details

See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Related issues and pull requests

Part of mdn/fred#1005.

@caugner caugner requested review from a team and argl and removed request for a team October 27, 2025 16:58
@caugner caugner marked this pull request as ready for review October 27, 2025 17:07
@caugner caugner requested a review from a team as a code owner October 27, 2025 17:07
@argl argl merged commit daec5cd into main Oct 28, 2025
5 checks passed
@argl argl deleted the pin-workflow-actions branch October 28, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants