Skip to content

Github Actions GITHUB_EVENT_PATH does not contain relevant PR information #26130

Answered by gimenete
xdrdak asked this question in Actions
Discussion options

You must be logged in to vote

Hi,

The file pointed by the $GITHUB_EVENT_PATH env variable contains the same information than the corresponding webhook event. You can check the reference here https://developer.github.com/webhooks/#events

Any additional information needs to be programmatically fetched using the API. You can authenticate against the API using the $GITHUB_TOKEN.

Adding PR information to some endpoints and webhook events is in our radar, but we don’t have an estimated release date for these changes, sorry.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants