actionpin
v0.1.8GitHub Actions supply-chain hardener: audit workflows for unpinned actions and build a SHA pin plan.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit_workflows
Audit GitHub workflow files under a repo path for action pinning. Finds every uses: reference, classifies it as PINNED (full 40-char SHA), MUTABLE (version tag), BRANCH, or LOCAL, labels the owner as official, third-party, docker, or local, and returns a PINNED, EXPOSED, or PARTIAL verdict with the file and line for every action.
| Parameter | Type | Description |
|---|---|---|
path * | string | Repo root, a .github/workflows directory, or a single workflow file |
audit_org
Audit every repo under an org root (each immediate subdirectory that carries workflows is one repo) and report pin drift across the org: every action that is used at different refs in different repos, naming each ref and the repos that use it. The org verdict is the worst per-repo verdict; drift itself does not change the verdict.
| Parameter | Type | Description |
|---|---|---|
path * | string | Org root: a directory whose immediate subdirectories are repo checkouts |
pin_plan
Build the SHA pinning plan for workflows under a repo path without writing any files. Resolves each mutable or branch ref to a commit SHA through the GitHub API and returns the exact rewritten line per action, or a failed entry with the reason when resolution is not possible. Local refs are never rewritten.
| Parameter | Type | Description |
|---|---|---|
path * | string | Repo root, a .github/workflows directory, or a single workflow file |