From 3973e469a88c0146f217cd3edf5ce82ca75df9f2 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Sat, 18 Jul 2026 01:07:56 -0400 Subject: [PATCH] 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) --- .gitea/workflows/adversarial-review.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/adversarial-review.yml b/.gitea/workflows/adversarial-review.yml index 8ef119c..1a329d0 100644 --- a/.gitea/workflows/adversarial-review.yml +++ b/.gitea/workflows/adversarial-review.yml @@ -53,3 +53,6 @@ jobs: # 5-lens suite) from review-reusable.yml. Only the consumer-specific # allow-list is set here. 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 }}