File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# See https://github.com/sudsali/shadow for docs and security model.
33name : 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+
512on :
613 pull_request_target :
714 types : [opened, reopened, synchronize]
@@ -27,7 +34,7 @@ permissions:
2734
2835jobs :
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' }}
You can’t perform that action at this time.
0 commit comments