ci: fix reference to personal access token

Turns out, github.token is not a PAT
https://github.com/actions/add-to-project/issues/462#issuecomment-1712561302
This commit is contained in:
Régis Behmo 2024-01-12 12:28:45 +01:00
parent ab158fb939
commit 9d3d9e60f5
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ on:
types:
- opened
jobs:
# https://github.com/actions/add-to-project
add-to-project:
name: Add issue and bugs to project
runs-on: ubuntu-latest
@ -17,4 +17,4 @@ jobs:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/overhangio/projects/4
github-token: ${{ github.token }}
github-token: ${{ secrets.GH_PROJECT_PERSONAL_ACCESS_TOKEN }}