From 0b13370e90f210c5b57cd42dfac5355f9ca16c03 Mon Sep 17 00:00:00 2001 From: Snider Date: Sat, 31 Jan 2026 22:07:51 +0000 Subject: [PATCH] ci: use PROJECT_TOKEN for org project access Co-Authored-By: Claude Opus 4.5 --- .github/workflows/auto-project.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/auto-project.yml b/.github/workflows/auto-project.yml index 48305d70..2eded325 100644 --- a/.github/workflows/auto-project.yml +++ b/.github/workflows/auto-project.yml @@ -4,10 +4,6 @@ on: issues: types: [opened, labeled] -permissions: - issues: read - repository-projects: write - jobs: add-to-project: runs-on: ubuntu-latest @@ -17,18 +13,18 @@ jobs: uses: actions/add-to-project@v1.0.2 with: project-url: https://github.com/orgs/host-uk/projects/2 - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.PROJECT_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.GITHUB_TOKEN }} + github-token: ${{ secrets.PROJECT_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.GITHUB_TOKEN }} + github-token: ${{ secrets.PROJECT_TOKEN }}