Skip to content

Commit

Permalink
actions: use GitHub PAT with project write permissions
Browse files Browse the repository at this point in the history
Previously, the default token had no access to write to projects.

This PR changes the action to use the token with proper permissions set.

Release note: None
  • Loading branch information
rail committed Nov 23, 2022
1 parent 3bf4498 commit 5ed6d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/add-mt-issues-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
# URL of the project to add issues to
project-url: https://github.com/orgs/cockroachdb/projects/36/
# A GitHub personal access token with write access to the project
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
# A comma-separated list of labels to use as a filter for issue to be added
labeled: T-multitenant

0 comments on commit 5ed6d7c

Please sign in to comment.