From 117cb6c023628e3ac80356a9630c6910a74f91f0 Mon Sep 17 00:00:00 2001 From: FonduemangVI <15520607+FonduemangVI@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:16:14 +1000 Subject: [PATCH] fix(contribs): update workflow --- .github/workflows/update_contributors.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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