Repository navigation
v0.7.2 — permission checks before credentials, explain locked down, repeat guards (gateway v0.7.2 lockstep)
LatestLockstep release for gateway v0.7.2.
This action release:
- pins
runtime_refto gatewayv0.7.2; - adds an Authorize gateway event step after the runtime checkout. The CLI install and the run step only run if it passes, so a command that isn't allowed never hands the App key or Claude credentials to a step. A runtime older than
v0.7.2, which has no authorizer, is let through and checks permissions itself, as before; - passes the job token (
GATEWAY_AUTH_TOKEN) and the PR author (GATEWAY_PR_AUTHOR) to the runtime, whichv0.7.2requires; - adds an optional commenter pre-filter and a commented-out
concurrency:block to the template. No input changes.
What the v0.7.2 runtime brings:
- permission check before any credentials. A command that isn't allowed doesn't install Claude, touch the App key or Claude credentials, or mint a token. It gets no reply; the reason is in the workflow log.
/gateway explainneeds a maintainer or the PR author. It used to be open to anyone.- repeat guards.
- Explaining the same finding again within 10 minutes is refused with a short reply.
- Checking the same commit again within 10 minutes gets a 👀 reaction and no new comment.
- Both are refused before any Claude call.
GATEWAY_EXPLAIN_COOLDOWN_SECONDSandGATEWAY_CHECK_COOLDOWN_SECONDSchange the windows (0turns a guard off).
Consumer update: bump both pins, uses: to this release's SHA and runtime_ref: to the gateway v0.7.2 SHA, together. The v0.7.2 runtime fails every command without this action release. Copying the template's new if: filter is optional. Before you do, check that every maintainer's org membership is public: a private member can show up as CONTRIBUTOR and be skipped silently.