diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 479d82f..a27aa28 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,14 +46,14 @@ jobs: git commit -m "Auto fix formatting by autocorrect [ci skip]" git push origin HEAD - # - name: Create Pull Request (if on non-main branch) - # if: github.ref != 'refs/heads/main' && steps.check_changes.outputs.has_changes == 'true' - # uses: peter-evans/create-pull-request@v6 - # with: - # commit-message: "Auto fix formatting by autocorrect [ci skip]" - # branch: auto-fix-${{ github.run_number }} - # delete-branch: true - # title: "Auto fix formatting by autocorrect" - # body: | - # This PR contains automatic fixes by the `autocorrect` tool. - # Generated by GitHub Actions run ${{ github.run_number }}. \ No newline at end of file + - name: Create Pull Request + if: steps.check_changes.outputs.has_changes == 'true' + uses: peter-evans/create-pull-request@v6 + with: + commit-message: "Auto fix formatting by autocorrect [ci skip]" + branch: auto-fix-${{ github.run_number }} + delete-branch: true + title: "Auto fix formatting by autocorrect" + body: | + This PR contains automatic fixes by the `autocorrect` tool. + Generated by GitHub Actions run ${{ github.run_number }}. \ No newline at end of file