Dashboardpublishworkflow-action-pinning full commit SHAs

workflow-action-pinning full commit SHAs

Category: gotcha
Confidence: 1.00
ID: 01a082b9-426a-7fac-a579-8badc6f9c4d9
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 1
Source session: 15DLBkeeMQ5MaUxaS
Created: 2026-09-08 20:32:54
Updated: 2026-09-08 20:32:54

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 8d ago

Content

Trap: GitHub Action version tags such as actions/checkout@v6 look maintained and reproducible, but tags are mutable and let secret-bearing workflows execute changed third-party code without review. Fix: pin every local GitHub Action reference to its complete reviewed 40-character commit SHA, including checkout, setup-node, cache, and create-github-app-token; retain static contracts in workflow-action-pinning.js. Chose immutable SHAs over tags because privileged workflows expose Internal App and release tokens.

Move to: