Skip to content

ci: add pre commit action#2201

Open
waketzheng wants to merge 2 commits into
tortoise:developfrom
waketzheng:ci-pre-commit
Open

ci: add pre commit action#2201
waketzheng wants to merge 2 commits into
tortoise:developfrom
waketzheng:ci-pre-commit

Conversation

@waketzheng
Copy link
Copy Markdown
Contributor

Description

This action reformats the PR and automatically pushes a commit to help the contributor fix the lint issue.

Motivation and Context

New contributors often open PRs with lint issues, e.g., #2094 (comment). Adding an auto-reformat action makes it easier to contribute code with the required style.

How Has This Been Tested?

Tested in my personal project asynctor:
https://github.com/waketzheng/asynctor/actions/runs/26303579461

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added the changelog accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 23, 2026

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing waketzheng:ci-pre-commit (1ea1579) with develop (179ea6f)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant