create
webhook ref
format incorrect
#37014
Labels
content
This issue or pull request belongs to the Docs Content team
fix-internally
Triggers a workflow to copy the issue internally and close the current issue
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/webhooks/webhook-events-and-payloads#create
What part(s) of the article would you like to see updated?
It says the
ref
property is "The git ref resource.", which links to https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#get-a-reference which says the format is"ref": "refs/heads/featureA",
in the example. Or possiblybranch/<branch_name>
ortag/tag_name
. But when I test this, the format is actually just the branch/tag name, which no prefix.Additional information
No response
The text was updated successfully, but these errors were encountered: