diff --git a/.github/workflows/pre-commit-format.yml b/.github/workflows/pre-commit-format.yml new file mode 100644 index 0000000..6ceb060 --- /dev/null +++ b/.github/workflows/pre-commit-format.yml @@ -0,0 +1,12 @@ +name: Pre-commit format +on: push +jobs: + format-code: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@main + - uses: stefanzweifel/git-auto-commit-action@master + with: + commit_message: "🐛 [pre-commit action]: Auto format"