Pin actions to commit SHAs
pin_actionsResolve uses: references to immutable commit SHAs live from GitHub: actions=actions/checkout@v4,docker/login-action@v3 (up to 20), or repo=/url=/yaml= to pin every uses: in those workflows. Per action: SHA (annotated tags peeled), the exact version tag for the "# v4.2.2" comment, a ready uses: line, latest release and whether a newer major exists. Needs a CI Guard pass (0.50 USDC = 24 h, 3 USDC = 30 days + Team Kit, 8 USDC = 90 days + Team Kit, by plain USDC transfer on Base; see payment_options), or pay per call over HTTP x402 ($0.02) at /v1/gha/pin.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pin_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch, tag or commit SHA for repo= (default: the default branch) | |
| url | No | Alternative: https URL of one workflow file (github.com blob/raw, raw.githubusercontent.com, gist) | |
| pass | No | Optional CI Guard pass token (rcg1...). Better: set it once as the MCP header Authorization: Bearer <token>. | |
| repo | No | Alternative to actions: pin every uses: in this public repo's workflows (owner/name) | |
| yaml | No | Alternative: the workflow file text itself (POST JSON {"yaml": "..."} recommended; up to 64 KB) | |
| actions | No | Comma-separated owner/repo[/path]@ref list, e.g. actions/checkout@v4,actions/setup-node@v4 |