diff --git a/.github/workflows/automatic-changelog.yml b/.github/workflows/automatic-changelog.yml index 1b11b8d89..a923f8101 100644 --- a/.github/workflows/automatic-changelog.yml +++ b/.github/workflows/automatic-changelog.yml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v4.1.6 with: fetch-depth: 0 + token: ${{ secrets.PAT }} - name: Get last edit time of docs/updates.txt run: | @@ -52,4 +53,4 @@ jobs: git config --global user.name "GitHub Actions" git diff git commit -am "chore(changelog): Update updates.txt" || exit 0 - git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master --force + git push https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}.git HEAD:master