diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 681a540..eec454b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,6 +34,7 @@ jobs: git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' git add . git commit -m "chore: apply formatting" - git push + git pull --rebase origin ${{ github.head_ref }} + git push origin HEAD:${{ github.head_ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}