Closed
Description
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The GITHUB_SHA
and GITHUB_REF
values seem to be wrong. As far as I can tell, there's no way to set a branch when triggering this event from the REST API. This presumption is also confirmed by the fact that the event has the following note:
Note: This event will only trigger a workflow run if the workflow file is on the default branch.
These values should both refer to the default branch. An example of what it should say:
https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#check_run
Additional information
I believe this was a copy-paste error from the workflow_dispatch
event.
Metadata
Metadata
Assignees
Labels
No labels