Skip to content

[REST] create-an-attestation should mention that private repositories need to be owned by enterprises #35835

Closed
@jsoref

Description

@jsoref

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.

Additional information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamneeds SMEThis proposal needs review from a subject matter expertrestContent related to rest - overview.waiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions