Skip to content

Enhancement: List what permissions the GitHub PAT requires #38

@Rarefy-Dev

Description

@Rarefy-Dev

My GitHub PAT is not working when I use it with this dashboard. Looking at the even log for cpuad-updater, this tool runs these APIs I think this is what is required. If you can confirm, I will make a pull request to the README.MD to add it to the documentation.

GitHub URLs and Permissions Needed:

replace ORG with your organization
https://api.github.com/orgs/ORG/teams?page=1&per_page=50
https://api.github.com/orgs/ORG/copilot/billing
https://api.github.com/orgs/ORG/copilot/billing/seats?page=1&per_page=50
https://api.github.com/orgs/ORG/copilot/metrics

For full read-only access to GitHub data for reporting, you will need to set the following permissions for your GitHub token:

  • read:org
  • read:repo:status
  • read:repo_deployment
  • read:public_repo
  • read:user
  • read:discussion
  • read:packages
  • read:project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions