Skip to content
HALOWERK

Codewerk

action sha pin

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. Returns the patched workflow and a per-action report; up to 40 distinct actions per call.

POST https://code.halowerk.com/v1/action-sha-pin

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
workflowstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "workflow"
  ],
  "properties": {
    "workflow": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500000
    }
  }
}

Open original schema

Published input example

{
  "workflow": "jobs:\n  b:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’