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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 4, 2026
- License
- MIT
Pinned Snippet
uses: lightninglabs/gateway-action@3a31b86adf442852801a04ddb9c6bc0f12d363da # v0.5.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| event_name | GitHub event that triggered the consumer shim (issue_comment, pull_request). | yes | — |
| event_action | Event-specific action (e.g. created, review_requested, closed). | no | "" |
| repo | Consumer repo in owner/name form (typically github.repository). | yes | — |
| pr_number | Pull request number. | yes | — |
| actor | Login of the user that triggered the event. | yes | — |
| comment_body | Body of the triggering comment, for issue_comment events. | no | "" |
| comment_id | Numeric id of the triggering comment, for issue_comment events. Used to react with a 👍 on success. | no | "" |
| installation_id | GitHub 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_id | gateway GitHub App ID. Consumers pass this via `with: app_id:` from their org secret (typically GATEWAY_APP_ID). | yes | — |
| private_key | gateway GitHub App private key, PEM contents. Consumers pass this via `with: private_key:` from their org secret (typically GATEWAY_PRIVATE_KEY). | yes | — |
| anthropic_api_key | Anthropic 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_token | Claude Code OAuth token (org secret CLAUDE_CODE_OAUTH_TOKEN). Either this or anthropic_api_key must be set. | no | "" |
| comment_in_reply_to | For 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_ref | Ref (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. | no | v0.5.0 |
Outputs
no outputs