Tack

v1.0.0
com.clawhard/tack Checked 4 days ago Published 16 days ago

Check GitHub Actions workflows live: retired actions, bad inputs, injection.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tack_check_workflow Check a GitHub Actions workflow and pin every action to a commit SHA (live)

Use when the user asks to write, review, fix or harden a GitHub Actions workflow (.github/workflows/*.yml) or a composite action.yml, or when a workflow was just written or edited and is about to be committed (signals: "write a CI workflow", "why does my workflow fail", "Invalid workflow file", "Unexpected input", "pin actions to SHA", "is actions/checkout@v4 still current", "Node 20 deprecated", "upload-artifact v3", "runs-on ubuntu-20.04", "script injection", "pull_request_target"). Parses the YAML (errors with line and column, duplicate keys, anchors), checks the structure against GitHub's…

ParameterTypeDescription
workflow *stringThe YAML text of a workflow file (.github/workflows/<name>.yml) or of an action.yml / action.yaml.
kindstringauto (default) detects a workflow (jobs:) or an action metadata file (runs:).
livebooleanResolve actions, inputs and runner labels on github.com. Default true; false = offline YAML and syntax checks only.
upgradebooleanPin every action to its latest release instead of the version the file uses. Default false (retired or missing refs are moved to the latest release either way).

tack_resolve_actions Look up GitHub Actions: latest release, commit SHA, runtime and inputs (live)

Use when a uses: line for a GitHub Action is about to be written and its current version, commit SHA or inputs are needed, or the user asks what the latest version of an action is, what SHA a tag points to, or whether an action or tag exists (signals: "latest actions/checkout", "pin setup-node to a SHA", "what inputs does this action take", "does v9 exist", "which version is this SHA"). Takes owner/repo (latest release), owner/repo@ref or owner/repo/path@ref, reads the tags and branches live from github.com and the action.yml at that commit, and returns per action: exists or not, the commit SH…

ParameterTypeDescription
actions *arrayAction references: "owner/repo" (latest release), "owner/repo@v4", "owner/repo/path@ref", or a full uses: line.
upgradebooleanFor references with a ref, return the pinned line for the latest release instead. Default false.