Skip to content

Commit 837d8dc

Browse files
authored
Change authentication method in deploy.yml
Updated the GitHub Actions workflow to use GITHUB_TOKEN for authentication instead of ORG_PAT.
1 parent 17dbaf3 commit 837d8dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ jobs:
6565
6666
- name: Assign team reviewer via GitHub API
6767
env:
68-
ORG_PAT: ${{ secrets.ORG_PAT }}
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
run: |
7070
curl -X POST \
71-
-H "Authorization: token $ORG_PAT" \
71+
-H "Authorization: token $GITHUB_TOKEN" \
7272
-H "Accept: application/vnd.github+json" \
7373
-H "Content-Type: application/json" \
7474
-d '{"team_reviewers":["ai4sdlc-reviewers"]}' \

0 commit comments

Comments
 (0)