Make your GitHub Actions usage more secure by pinning them to their SHA's.
# Homebrew:
brew install caarlos0/tap/pinata
# Go:
go install github.com/caarlos0/pinata@latest
Or download from the releases page.
$ pinata [dir] # Defaults to .github/workflows
$ pinata ./myrepo/.github/workflows
Use --ignore to leave some actions unpinned.
It takes a glob, and may be set multiple times:
$ pinata --ignore 'actions/*' --ignore 'github/*'
$ pinata --ignore 'actions/checkout'
Globs are matched against the action name (e.g. actions/checkout), as well as
against the owner/repo of actions living in a subdirectory, so github/*
also ignores github/codeql-action/analyze.
38 commits
29 commits
Go
100.0%
Make your GitHub Actions usage more secure by pinning them to their SHA's.
# Homebrew:
brew install caarlos0/tap/pinata
# Go:
go install github.com/caarlos0/pinata@latest
Or download from the releases page.
$ pinata [dir] # Defaults to .github/workflows
$ pinata ./myrepo/.github/workflows
Use --ignore to leave some actions unpinned.
It takes a glob, and may be set multiple times:
$ pinata --ignore 'actions/*' --ignore 'github/*'
$ pinata --ignore 'actions/checkout'
Globs are matched against the action name (e.g. actions/checkout), as well as
against the owner/repo of actions living in a subdirectory, so github/*
also ignores github/codeql-action/analyze.
38 commits
29 commits
Go
100.0%