-
Notifications
You must be signed in to change notification settings - Fork 65.1k
Closed
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issueTriggers a workflow to copy the issue internally and close the current issue
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's 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 possibly branch/<branch_name> or tag/tag_name. But when I test this, the format is actually just the branch/tag name, which no prefix.
Additional information
No response
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issueTriggers a workflow to copy the issue internally and close the current issue