Skip to content

Commit

Permalink
chore: use GH_AUTOMATIONS_PAT instead of GH_PROJECT_AUTOMATION_AUTH (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JorTurFer authored Mar 8, 2023
1 parent 8146de7 commit 1626b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-add-issues-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- name: Get project data
env:
GITHUB_TOKEN: ${{ secrets.GH_PROJECT_AUTOMATION_AUTH }}
GITHUB_TOKEN: ${{ secrets.GH_AUTOMATIONS_PAT }}
ORGANIZATION: kedacore
# This refers to our backlog project: https://github.com/orgs/kedacore/projects/2/views/1
PROJECT_NUMBER: 2
Expand All @@ -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_AUTOMATIONS_PAT }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
item_id="$( gh api graphql -f query='
Expand Down

0 comments on commit 1626b72

Please sign in to comment.