lightninglabs/gateway review (public entry point)

Publicly-resolvable entry point for gateway. Mints an App token, checks out the private gateway runtime at a pinned ref, and runs the review. Usable from public OR private consumer repos.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 4, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: lightninglabs/gateway-action@3a31b86adf442852801a04ddb9c6bc0f12d363da # v0.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
event_nameGitHub event that triggered the consumer shim (issue_comment, pull_request).yes
event_actionEvent-specific action (e.g. created, review_requested, closed).no""
repoConsumer repo in owner/name form (typically github.repository).yes
pr_numberPull request number.yes
actorLogin of the user that triggered the event.yes
comment_bodyBody of the triggering comment, for issue_comment events.no""
comment_idNumeric id of the triggering comment, for issue_comment events. Used to react with a 👍 on success.no""
installation_idGitHub App installation ID for the consumer repo. Optional: leave unset and the runtime resolves the install covering the repo from app_id/private_key. Set it only to pin a specific installation.no""
app_idgateway GitHub App ID. Consumers pass this via `with: app_id:` from their org secret (typically GATEWAY_APP_ID).yes
private_keygateway GitHub App private key, PEM contents. Consumers pass this via `with: private_key:` from their org secret (typically GATEWAY_PRIVATE_KEY).yes
anthropic_api_keyAnthropic API key for the /code-review skill (org secret ANTHROPIC_API_KEY). Either this or claude_code_oauth_token must be set; if both are set, API is tried first and OAuth is the fallback.no""
claude_code_oauth_tokenClaude Code OAuth token (org secret CLAUDE_CODE_OAUTH_TOKEN). Either this or anthropic_api_key must be set.no""
comment_in_reply_toFor pull_request_review_comment events: the thread-root comment id (github.event.comment.in_reply_to_id). Lets inline /gateway dismiss, promote, and explain infer the finding from the thread.no""
runtime_refRef (tag/branch/SHA) of the private lightninglabs/gateway runtime to check out and run. Defaults to the release this action repo was tagged in lockstep with. Override only for testing an unreleased runtime.nov0.5.0

no outputs