-
Notifications
You must be signed in to change notification settings - Fork 61.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"repository_dispatch" event shows wrong GITHUB.SHA and GITHUB.REF information #1494
Comments
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
4 tasks
This was referenced Jun 19, 2022
This was referenced Jun 19, 2022
This was referenced Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What article on docs.github.com is affected?
https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#repository_dispatch
What part(s) of the article would you like to see updated?
The
GITHUB_SHA
andGITHUB_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: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.The text was updated successfully, but these errors were encountered: