mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
Merge pull request #10956 from saubyk/gateway-v0.5.0
Some checks failed
CI / Static Checks (push) Has been cancelled
CI / Check commits (push) Has been cancelled
CI / Lint code (push) Has been cancelled
CI / Cross compilation (push) Has been cancelled
CI / Cross compilation-1 (push) Has been cancelled
CI / Cross compilation-2 (push) Has been cancelled
CI / Run unit tests (push) Has been cancelled
CI / Run unit tests-1 (push) Has been cancelled
CI / Run unit tests-2 (push) Has been cancelled
CI / Run unit tests-3 (push) Has been cancelled
CI / Run unit tests-4 (push) Has been cancelled
CI / Run unit tests-5 (push) Has been cancelled
CI / Run unit tests-6 (push) Has been cancelled
CI / Run unit tests-7 (push) Has been cancelled
CI / Run unit tests-8 (push) Has been cancelled
CI / Run unit tests-9 (push) Has been cancelled
CI / Run basic itests (push) Has been cancelled
CI / Run basic itests-1 (push) Has been cancelled
CI / Run basic itests-2 (push) Has been cancelled
CI / Run basic itests-3 (push) Has been cancelled
CI / Run basic itests-4 (push) Has been cancelled
CI / Run itests (push) Has been cancelled
CI / Run itests-1 (push) Has been cancelled
CI / Run itests-2 (push) Has been cancelled
CI / Run itests-3 (push) Has been cancelled
CI / Run itests-4 (push) Has been cancelled
CI / Run itests-5 (push) Has been cancelled
CI / Run itests-6 (push) Has been cancelled
CI / Run itests-7 (push) Has been cancelled
CI / Run windows itest (push) Has been cancelled
CI / Run macOS itest (push) Has been cancelled
CI / Check pinned dependencies (push) Has been cancelled
CI / Check pinned dependencies-1 (push) Has been cancelled
CI / Check release notes updated (push) Has been cancelled
CI / Backwards compatibility test (push) Has been cancelled
CI / Cache Cleanup (push) Has been cancelled
CI / Send coverage report (push) Has been cancelled
Some checks failed
CI / Static Checks (push) Has been cancelled
CI / Check commits (push) Has been cancelled
CI / Lint code (push) Has been cancelled
CI / Cross compilation (push) Has been cancelled
CI / Cross compilation-1 (push) Has been cancelled
CI / Cross compilation-2 (push) Has been cancelled
CI / Run unit tests (push) Has been cancelled
CI / Run unit tests-1 (push) Has been cancelled
CI / Run unit tests-2 (push) Has been cancelled
CI / Run unit tests-3 (push) Has been cancelled
CI / Run unit tests-4 (push) Has been cancelled
CI / Run unit tests-5 (push) Has been cancelled
CI / Run unit tests-6 (push) Has been cancelled
CI / Run unit tests-7 (push) Has been cancelled
CI / Run unit tests-8 (push) Has been cancelled
CI / Run unit tests-9 (push) Has been cancelled
CI / Run basic itests (push) Has been cancelled
CI / Run basic itests-1 (push) Has been cancelled
CI / Run basic itests-2 (push) Has been cancelled
CI / Run basic itests-3 (push) Has been cancelled
CI / Run basic itests-4 (push) Has been cancelled
CI / Run itests (push) Has been cancelled
CI / Run itests-1 (push) Has been cancelled
CI / Run itests-2 (push) Has been cancelled
CI / Run itests-3 (push) Has been cancelled
CI / Run itests-4 (push) Has been cancelled
CI / Run itests-5 (push) Has been cancelled
CI / Run itests-6 (push) Has been cancelled
CI / Run itests-7 (push) Has been cancelled
CI / Run windows itest (push) Has been cancelled
CI / Run macOS itest (push) Has been cancelled
CI / Check pinned dependencies (push) Has been cancelled
CI / Check pinned dependencies-1 (push) Has been cancelled
CI / Check release notes updated (push) Has been cancelled
CI / Backwards compatibility test (push) Has been cancelled
CI / Cache Cleanup (push) Has been cancelled
CI / Send coverage report (push) Has been cancelled
github: bump gateway code-review to v0.5.0
This commit is contained in:
commit
404f2c27ab
1 changed files with 20 additions and 6 deletions
26
.github/workflows/gateway.yml
vendored
26
.github/workflows/gateway.yml
vendored
|
|
@ -3,7 +3,11 @@ name: gateway
|
|||
# Opt-in code-review bot. Triggered by a `/gateway <command>` comment on a PR
|
||||
# (e.g. `/gateway review`); review/approve commands are gated to maintainers.
|
||||
# Comment-commands only — no pull_request triggers — so fork PRs (which receive
|
||||
# no secrets) never spawn failing runs.
|
||||
# no secrets) never spawn failing runs. v0.5.0 adds the
|
||||
# pull_request_review_comment trigger: /gateway dismiss, promote, and explain
|
||||
# now also work as replies on a finding's inline thread (finding id inferred
|
||||
# from the thread when omitted). Also a comment event — same fork-PR safety
|
||||
# profile as issue_comment.
|
||||
#
|
||||
# Thin shim: the public lightninglabs/gateway-action mints an App token and
|
||||
# checks out the private gateway runtime at execution time. The runtime stays
|
||||
|
|
@ -12,6 +16,8 @@ name: gateway
|
|||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request_review_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
# The action mints an App installation token internally; the GITHUB_TOKEN
|
||||
|
|
@ -24,25 +30,33 @@ jobs:
|
|||
# comments that look like a /gateway command so unrelated comments don't
|
||||
# spin up a no-op runner. `contains` (not `startsWith`) because the runtime
|
||||
# accepts the command at column 0 of any line, including multi-line bodies.
|
||||
if: ${{ github.event.issue.pull_request != null && contains(github.event.comment.body, '/gateway') }}
|
||||
if: >-
|
||||
${{
|
||||
(github.event_name == 'issue_comment'
|
||||
&& github.event.issue.pull_request != null
|
||||
&& contains(github.event.comment.body, '/gateway')) ||
|
||||
(github.event_name == 'pull_request_review_comment'
|
||||
&& contains(github.event.comment.body, '/gateway'))
|
||||
}}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
GATEWAY_REVIEW_MODE: multi
|
||||
steps:
|
||||
- uses: lightninglabs/gateway-action@abe7cf894c5afd4e488caac4c72a4a268b65933e # v0.4.4
|
||||
- uses: lightninglabs/gateway-action@3a31b86adf442852801a04ddb9c6bc0f12d363da # v0.5.0
|
||||
with:
|
||||
# Pin the private runtime to an immutable commit (matches the action
|
||||
# SHA-pin above) so runtime upgrades go through an lnd PR, not a moved
|
||||
# tag. Without this, runtime_ref defaults to the v0.4.4 tag.
|
||||
runtime_ref: 20675fc28b157a7b4fcfbeddf7a2ca8e2115c387 # gateway v0.4.4
|
||||
# tag. Without this, runtime_ref defaults to the v0.5.0 tag.
|
||||
runtime_ref: b7490e68db31b391becfe9534e947b8004fc518b # gateway v0.5.0
|
||||
event_name: ${{ github.event_name }}
|
||||
event_action: ${{ github.event.action }}
|
||||
repo: ${{ github.repository }}
|
||||
pr_number: ${{ github.event.issue.number }}
|
||||
pr_number: ${{ github.event.issue.number || github.event.pull_request.number }}
|
||||
actor: ${{ github.event.sender.login }}
|
||||
comment_body: ${{ github.event.comment.body }}
|
||||
comment_id: ${{ github.event.comment.id }}
|
||||
comment_in_reply_to: ${{ github.event.comment.in_reply_to_id }}
|
||||
# installation_id intentionally omitted: as of gateway v0.4.4 the
|
||||
# runtime resolves the App installation covering this repo from
|
||||
# app_id/private_key, so a hardcoded (and easily wrong-org) id is no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue