From 5ed6d7ce5b5f17357055eec6f130f5f61b25cf51 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Wed, 23 Nov 2022 13:26:26 -0500 Subject: [PATCH] actions: use GitHub PAT with project write permissions 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 --- .github/workflows/add-mt-issues-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-mt-issues-to-project.yml b/.github/workflows/add-mt-issues-to-project.yml index 5cebda89b184..f2ffc10dc646 100644 --- a/.github/workflows/add-mt-issues-to-project.yml +++ b/.github/workflows/add-mt-issues-to-project.yml @@ -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