Skip to content

Conversation

@adamsmd
Copy link
Contributor

@adamsmd adamsmd commented Dec 29, 2024

Removed unused permissions, and changed names to those currently used by GitHub.

  • code: renamed to contents as used by GitHub
  • commit statuses: removed because not used by github-backup
  • pages: removed because not used by github-backup
  • repository hooks: renamed to webhooks as used by GitHub

For the "commit statuses" and "pages" permissions, I could not find any indication in the code that
the "status", "statuses", "pages" endpoints are used. See https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28#repository-permissions-for-commit-statuses and https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28#repository-permissions-for-pages.

Removed unused permissions, and changed names to those currently used by GitHub.

- code: renamed to contents as used by GitHub
- commit statuses: removed because not used by github-backup
- pages: removed because not used by github-backup
- repository hooks: renamed to webhooks as used by GitHub
@josegonzalez josegonzalez merged commit 2e72797 into josegonzalez:master Jan 4, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants