pin-gh-actions

Installation
SKILL.md

/pin-gh-actions — Pin GitHub Actions to Commit SHAs

Pin all external GitHub Actions from mutable tags (e.g. @v4) to immutable commit SHAs and ensure dependabot keeps them updated.

Steps

  1. Find all workflow and action files:

    • Glob .github/workflows/*.yml and .github/workflows/*.yaml
    • Glob .github/actions/**/action.yml and .github/actions/**/action.yaml
  2. Install the tool (if not already available):

    npm install -g pin-github-action
    
  3. Pin each file — use GITHUB_TOKEN so private/org actions resolve:

Installs
1
First Seen
May 15, 2026