Skip to content

Commit 14a9a2b

Browse files
committed
Bump Shadow pin to e5b53f8 (round-18) + run-name template
1 parent 983cc76 commit 14a9a2b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/shadow.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# See https://github.com/sudsali/shadow for docs and security model.
33
name: Shadow
44

5+
# Embed the PR/issue number in the run name. The reusable workflow's run-name
6+
# is ignored when invoked via workflow_call — only the caller's template
7+
# applies. This is what lets the rate-limit gate (BOT_MAX_RUNS_PER_HOUR) match
8+
# prior runs for issue/issue_comment events, where the workflow_run record
9+
# has no `pull_requests` array to match on.
10+
run-name: "Shadow #${{ github.event.pull_request.number || github.event.issue.number || inputs.pr_number }}"
11+
512
on:
613
pull_request_target:
714
types: [opened, reopened, synchronize]
@@ -27,7 +34,7 @@ permissions:
2734

2835
jobs:
2936
shadow:
30-
uses: sudsali/shadow/.github/workflows/shadow-review.yml@1b9216cdecc65d62054a065eb05e3a287094940e # v0
37+
uses: sudsali/shadow/.github/workflows/shadow-review.yml@e5b53f8c4bf79c0e9048250ea218d38f2dac5451 # v0 (round-18)
3138
with:
3239
pr_number: ${{ inputs.pr_number }}
3340
dry_run: ${{ inputs.dry_run && 'true' || 'false' }}

0 commit comments

Comments
 (0)