[REST] create-an-attestation should mention that private repositories need to be owned by enterprises #35835
Open
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/rest/repos/repos?apiVersion=2022-11-28#create-an-attestation
What part(s) of the article would you like to see updated?
Restructure this sentence:
The authenticated user must have write permission to the repository and, if using a fine-grained access token, the attestations:write permission is required.
Something like this might work:
- The authenticated user must have write permission to the repository.
- If the repository is private, it must be owned by an enterprise.
- If using a fine-grained access token, the attestations:write permission is required.