Skip to content

ci: add creat pull request part #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}.
- 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 }}.