fix(contribs): add pat for repo

pull/1957/head
FonduemangVI 4 months ago
parent a25c2919fc
commit 849586628e

@ -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 "actions@github.com"
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

Loading…
Cancel
Save