.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 <nia@redhat.com>
This commit is contained in:
Nizamudeen A 2023-08-14 23:23:11 +05:30
parent 4a7807978c
commit 3441b89ad4
1 changed files with 1 additions and 1 deletions

View File

@ -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