-
Hey there, Been having a super great time with github actions until I’ve hit this weird issue where the json payload contained within This leads to some funky things, like being unable to assert PR labels or the PR number when using the provided “actions/bin/filter”. Is there a way to solve this asides from manually trying to fetch the PR data via the API? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, The file pointed by the Any additional information needs to be programmatically fetched using the API. You can authenticate against the API using the 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. |
Beta Was this translation helpful? Give feedback.
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/#eventsAny 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.