inerasable0203 opened a new pull request, #24325:
URL: https://github.com/apache/kafka/pull/24325
For `pull_request_review` events, `workflow_run.head_repository` is
apache/kafka rather than the fork, so the `HEAD_REPO:HEAD_BRANCH` lookup
finds no PR. Match the run's head_sha against open PRs instead, as
pr-reviewers-trailer-on-review.yml does.
I ran into this on my own PR #24308: each review triggered a failed run and
a failure email ("Could not find the PR that triggered this workflow
request"), e.g. https://github.com/apache/kafka/actions/runs/44784403138.
With that run's head sha, the old query returns nothing and the new one
finds #24308. I couldn't test the approval step end-to-end since it needs
maintainer permissions.
Generated-by: Claude Code (Claude Opus 5.5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]