Workflow triggered on workflow_run
event (triggered from pull_request
event from a forked repository branch) lack pull_request
#3444
Labels
bug
Something isn't working
Describe the bug
Workflow triggered on
workflow_run
event (triggered frompull_request
event from a forked repository branch) lack pull_requestTo Reproduce
Steps to reproduce the behavior:
0. Create a repository in an organization and fork it
.github/workflows/pr.yml
.github/workflows/workflow-run.yml
Workflow Run
(triggered frompull_request
event from the forked repository branch) and find out thatgithub.event.workflow_run.pull_requests
is empty ❌Workflow Run
(triggered frompull_request
event from the organization repository branch) and find out thatgithub.event.workflow_run.pull_requests
is not empty ✅Expected behavior
Payload from
workflow_run
workflow triggered frompull_request
event from a forked repository branch should include pull_requestRunner Version and Platform
Version of your runner?
2.319.1
OS of the machine running the runner? OSX/Windows/Linux/...
Linux
What's not working?
Please include error messages and screenshots.
Details
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's
_diag
folder. The runner logs are prefixed withRunner_
and the worker logs are prefixed withWorker_
. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.The text was updated successfully, but these errors were encountered: