Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Triage GitHub Actions are failing #769

Closed
thekaveman opened this issue Jul 7, 2022 · 2 comments
Closed

Project Triage GitHub Actions are failing #769

thekaveman opened this issue Jul 7, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@thekaveman
Copy link
Member

thekaveman commented Jul 7, 2022

Recent runs for the Project Triage workflows (that add issues and certain PRs to the Digital Service project) are failing with the message:

Request failed due to following response errors:

  • Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['repo', 'write:org'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
  • Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['repo', 'write:org'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.

Additional context

The token is from the Cal-ITP org-wide GH_PROJECTS_TOKEN secret.

The token is a PAT generated by the @cal-itp-bot account. It is currently set to expire on August 8, 2022.

@thekaveman thekaveman added the bug Something isn't working label Jul 7, 2022
@thekaveman thekaveman moved this to Backlog in Digital Services Jul 7, 2022
@thekaveman thekaveman self-assigned this Jul 7, 2022
@angela-tran
Copy link
Member

FYI, there may be one more error after fixing the one about ['read:project'].

See actions/add-to-project#139

@thekaveman thekaveman moved this from Backlog to In Progress in Digital Services Jul 7, 2022
@thekaveman
Copy link
Member Author

Added the necessary scopes to the token, and re-ran a failed action: it succeeded!

Repository owner moved this from In Progress to Done in Digital Services Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants