Simran-B opened this issue
Oct 16, 2020
· 5 comments
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamcontentProblems or updates in the docs content on docs.github.com.triageDo not begin working on this issue until triaged by the team.
janiceilene
added
actions
This issue or pull request should be reviewed by the docs actions team
content
Problems or updates in the docs content on docs.github.com.
labels
Oct 19, 2020
Ok, confirmed that SHA functionality is not implemented in the API at the moment. Because the source for the API docs is in a separate internal repo, I'll open a fix that will fix this issue. 🚀
actionsThis issue or pull request should be reviewed by the docs actions teamcontentProblems or updates in the docs content on docs.github.com.triageDo not begin working on this issue until triaged by the team.
4 participants
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
What article on docs.github.com is affected?
https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#create-a-workflow-dispatch-event
What part(s) of the article would you like to see updated?
According to the docs,
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatchesaccepts a commit hash as reference:This isn't the case:
{ "message": "No ref found for: {hash}", "documentation_url": "https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event" }Only branch and tag names are accepted. Or is there an undocumented key or syntax for the value to reference a commit hash?
Additional information
https://github.community/t/workflow-dispatch-cant-set-ref-to-commit-sha/138132
The text was updated successfully, but these errors were encountered: