Skip to content

Commit

Permalink
.github: fix add to dashboard failing
Browse files Browse the repository at this point in the history
```
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 <[email protected]>
  • Loading branch information
nizamial09 committed Aug 14, 2023
1 parent 4a78079 commit 3441b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3441b89

Please sign in to comment.