GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — github: pin gateway v0.7.2 (permission checks before credentials, explain locked down, repeat guards) by saubyk · Pull Request #1275 · lightninglabs/loop

Conversation

@saubyk

@saubyk saubyk commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Repin the gateway shim to v0.7.2.

Both pins move together

From To
uses: lightninglabs/gateway-action@ a590b98 (v0.7.1) 254f0cb (v0.7.2)
runtime_ref: 2c05e70 (gateway v0.7.1) abe5c3a (gateway v0.7.2)

The v0.7.2 runtime needs the job token that gateway-action v0.7.2 passes, so these two pins must move in the same change: bumping only runtime_ref would make every command fail, and bumping only uses: would keep running the previous runtime.

No trigger, input, permission, secret, event or timeout changes.

What v0.7.2 brings

  • Permission check before any credentials. A /gateway command is now checked against the commenter's permissions before the job installs Claude or touches the App key or Claude credentials. A command that isn't allowed loads nothing and mints no token. It gets no reply; the reason is in the workflow log (authorize / skipped).
  • /gateway explain needs a maintainer or the PR author. It used to be open to anyone on GitHub, and each explain is a Claude call.
  • 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_SECONDS and GATEWAY_CHECK_COOLDOWN_SECONDS in the job's env change the windows (0 turns a guard off).

Optional: skip outsiders' comments

The gateway shim template now has a job if: filter that skips /gateway comments from anyone who is neither OWNER/MEMBER/COLLABORATOR nor the PR author, so they don't start a runner. It isn't added here. Before adding it, check that every maintainer who uses /gateway has public org membership: a private member can show up as CONTRIBUTOR, and their commands would be skipped silently.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@saubyk
github: pin gateway v0.7.2
afe49ac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@saubyk
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.