Skip to content

Commit

Permalink
Use GITHUB_TOKEN instead of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Aug 4, 2024
1 parent 0c78a29 commit 478c1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
node-version: 18
- run: git config --global user.name "${GITHUB_ACTOR}"
- run: git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
- run: git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}
- run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
- run: npm ci
- run: npm run publish

0 comments on commit 478c1f1

Please sign in to comment.