Skip to content

Commit

Permalink
fix(contribs): add pat for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
FonduemangVI committed Jun 2, 2024
1 parent a25c291 commit 8495866
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
node .github/scripts/update-contributors.js
- name: Commit and push if it's not up to date
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
git diff
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git diff
git commit -am "chore(contributors): Update CONTRIBUTORS.md" || exit 0
git push
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master

0 comments on commit 8495866

Please sign in to comment.