diff --git a/.github/workflows/auto-add-issues-to-project.yml b/.github/workflows/auto-add-issues-to-project.yml index ee78a056..3ca15222 100644 --- a/.github/workflows/auto-add-issues-to-project.yml +++ b/.github/workflows/auto-add-issues-to-project.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Get project data env: - GITHUB_TOKEN: ${{ secrets.GH_PROJECT_AUTOMATION_AUTH }} + GITHUB_TOKEN: ${{ secrets.GH_AUTOMATION_PAT }} ORGANIZATION: kedacore # This refers to our backlog project: https://github.com/orgs/kedacore/projects/6/views/1 PROJECT_NUMBER: 6 @@ -34,7 +34,7 @@ jobs: echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV - name: Add issue to project env: - GITHUB_TOKEN: ${{ secrets.GH_PROJECT_AUTOMATION_AUTH }} + GITHUB_TOKEN: ${{ secrets.GH_AUTOMATION_PAT }} ISSUE_ID: ${{ github.event.issue.node_id }} run: | item_id="$( gh api graphql -f query='