From 3441b89ad4d159153f7577a2b994009c2c576542 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Mon, 14 Aug 2023 23:23:11 +0530 Subject: [PATCH] .github: fix add to dashboard failing ``` Error: Request failed due to following response errors: - Could not resolve to a ProjectV2 with the number 2. ``` On further investigation, it looks like it could be a permission issue. I followed the recommendation in their documentation to fix it: https://github.com/actions/add-to-project#creating-a-pat-and-adding-it-to-your-repository Signed-off-by: Nizamudeen A --- .github/workflows/pr-triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 4e318c12594..24b1c97db70 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -18,7 +18,7 @@ jobs: uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c with: project-url: https://github.com/orgs/ceph/projects/2 - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} labeled: dashboard - name: Assign milestone based on target brach name # https://github.com/marketplace/actions/pull-request-milestone?version=v1.3.0 -- 2.39.5