Pin GitHub Actions and reusable workflow refs to immutable SHAs before CI changes merge with pinact
Rewrite mutable GitHub Actions refs to commit SHAs so workflow changes do not ship with drifting dependencies.
Prerequisites
pinact CLI, repository access to the target .github workflow files, and optional GitHub token access for API-backed pin resolution.
Installation
Requirements and caveats from upstream:
- For tags, the commit's Committer.Date is checked (requires additional API call)
Basic usage or getting-started notes:
$ pinact run
sh
pinact run [...]
Extracted from upstream docs: https://raw.githubusercontent.com/suzuki-shunsuke/pinact/HEAD/README.md