pinata

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

piñata

Make your GitHub Actions usage more secure by pinning them to their SHA's.

Install

# Homebrew:
brew install caarlos0/tap/pinata

# Go:
go install github.com/caarlos0/pinata@latest

Or download from the releases page.

Usage

$ pinata [dir] # Defaults to .github/workflows
$ pinata ./myrepo/.github/workflows
Ignoring actions

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址