Personal Access Token in GitHub
Permissions required to backup selected repository metadata
By creating Personal Access Token, you can assign various types of permissions. Below is a list of permissions that will allow you to backup the repository metadata you are interested in in your organization.
Repo - grants access to repositories.
Admin:org - allows you to read the organization's projects.
Project - allows you to read the projects from which the repository comes.
repo_hook - grants access to webhooks.
public_key - grants access to keys.
Remember that if you grant only read permissions, it will be possible to perform a backup, but to restore them, you will have to generate a new token with write permissions.
For more information on Personal Access Token, visit the Github site: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app
Last updated