{"slug":"code-halowerk-com-v1-action-sha-pin-83ef0f","title":"Pin every GitHub Action in a workflow to a full commit SHA (with the tag kept as","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/action-sha-pin","category":"code","description":"Pin every GitHub Action in a workflow to a full commit SHA (with the tag kept as comment) and return the patched YAML. Finds every \"uses: owner/repo[/path]@ref\" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com","price_listed":0.003,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"workflow":"jobs:\n  b:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"workflow":{"maxLength":500000,"minLength":1,"type":"string"}},"required":["workflow"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Pin every GitHub Action in a workflow to a full commit SHA (with the tag kept as comment) and return the patched YAML. Finds every \"uses: owner/repo[/path]@ref\" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to \"uses: owner/repo[/path]@<sha> # <ref>\". Local actions (./), docker:// references and already pinned SHAs are left unchanged.","last_updated":"2026-11-20T23:11:05.933Z","schemes":["exact"]}