fix(dogfood): thread dispatch pr_number into gadfly's own review caller
gadfly's self-review adversarial-review.yml calls review-reusable.yml but was
never updated for the Gitea >= 1.27 breaking change (go-gitea#37478): a called
workflow no longer receives the caller's workflow_dispatch inputs in
github.event, so a manual "review PR #N" dispatch reached the reusable with an
empty PR. Commit 64d34bd added the pr_number workflow_call input and mort's
caller threads it; this brings gadfly's own caller in line so the dogfood path
works on the same Gitea version.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
@@ -53,3 +53,6 @@ jobs:
|
|||||||
# 5-lens suite) from review-reusable.yml. Only the consumer-specific
|
# 5-lens suite) from review-reusable.yml. Only the consumer-specific
|
||||||
# allow-list is set here.
|
# allow-list is set here.
|
||||||
allowed_users: "steve,fizi,dazed"
|
allowed_users: "steve,fizi,dazed"
|
||||||
|
# Gitea >= 1.27 does not propagate dispatch inputs into a called workflow's
|
||||||
|
# github.event — thread the PR number explicitly (empty on non-dispatch events).
|
||||||
|
pr_number: ${{ github.event.inputs.pr_number }}
|
||||||
|
|||||||
Reference in New Issue
Block a user