fix(contribs): update workflow

pull/1957/head
FonduemangVI 6 months ago
parent 849586628e
commit 117cb6c023

@ -15,6 +15,8 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -36,4 +38,4 @@ jobs:
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
git diff git diff
git commit -am "chore(contributors): Update CONTRIBUTORS.md" || exit 0 git commit -am "chore(contributors): Update CONTRIBUTORS.md" || exit 0
git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master --force

Loading…
Cancel
Save