skills/pin-github-actions/SKILL.md
Create or update GitHub Actions workflow files with remote `uses:` entries pinned to full commit SHAs annotated with the resolved release tag. Use whenever creating or updating a workflow file which contains `uses:` entries.
npx skillsauth add stefafafan/skills pin-github-actionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
uses: entries that reference actions (e.g. actions/checkout@v6).uses: owner/repo@ref, determine if it is already pinned to a full commit SHA. If not, it should be pinned.uses: entries are pinned from the start, with the latest stable release. Use git ls-remote --tags --sort="v:refname" <REPO_URL> | tail -n 1 to find the latest release tag and corresponding commit SHA.uses: entries without changing the version.uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# vX.Y.Z or # <tag>, preserve YAML structure and step ordering, and avoid unrelated churn.uses: entry points to a 40-character commit SHA..github/workflows/ci.yml for this repo..github/workflows/release.yml so actions are up to date..github/workflows/.testing
Add a one-week cooldown to Dependabot or Renovate dependency update configuration. Use when a repository needs Dependabot `cooldown.default-days: 7`, Renovate `minimumReleaseAge: "7 days"`, or migration from Renovate `stabilityDays` to `minimumReleaseAge`.
testing
Update GitHub Actions workflows to use pnpm/action-setup cache support introduced in v4.3.0. Use when creating or editing workflow YAML files that install pnpm, especially when they use actions/setup-node cache: pnpm or actions/cache entries for pnpm store paths.
tools
Pick the correct Go version for `go` and `toolchain` directives. Use when an agent needs to bump the Go version, update a go or toolchain directive, or align Go versions in go.mod, go.work, CI, containers, version manager files, or docs.
documentation
Draft conventional commit messages that explain why a change exists instead of listing what changed. Use when trying to write a git commit message.