ci: use GITHUB_TOKEN for auto-project workflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-01-31 22:00:01 +00:00
parent 57d6d92392
commit 00543713ce

View file

@ -6,6 +6,7 @@ on:
permissions:
issues: read
repository-projects: write
jobs:
add-to-project:
@ -16,18 +17,18 @@ jobs:
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/host-uk/projects/2
github-token: ${{ secrets.PROJECT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add to Core.GO (lang:go label)
if: contains(github.event.issue.labels.*.name, 'lang:go')
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/host-uk/projects/4
github-token: ${{ secrets.PROJECT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add to Core.Framework (scope:arch label)
if: contains(github.event.issue.labels.*.name, 'scope:arch')
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/host-uk/projects/1
github-token: ${{ secrets.PROJECT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}