diff --git a/.github/workflows/update_contributors.yml b/.github/workflows/update_contributors.yml index 5020b7ad5..d6bfe8a15 100644 --- a/.github/workflows/update_contributors.yml +++ b/.github/workflows/update_contributors.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + token: ${{ secrets.PAT }} - name: Install Node.js uses: actions/setup-node@v4 @@ -36,4 +38,4 @@ jobs: git config --global user.name "GitHub Actions" git diff 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