From 9d3d9e60f531ed7bc8cd735b4ddf760504509cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 12 Jan 2024 12:28:45 +0100 Subject: [PATCH] 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 --- .github/workflows/auto-add-to-project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-add-to-project.yml b/.github/workflows/auto-add-to-project.yml index a553092..d4ab7a4 100644 --- a/.github/workflows/auto-add-to-project.yml +++ b/.github/workflows/auto-add-to-project.yml @@ -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 }}