👷 Pre-commit: Disable "check large file" hook #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-commit format | |
on: push | |
jobs: | |
format-code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@main | |
- uses: pre-commit/action@main | |
with: | |
extra_args: --all-files | |
- name: Update pre-commit hook | |
run: pre-commit autoupdate | |
- uses: stefanzweifel/git-auto-commit-action@master | |
with: | |
commit_message: "🐛 [pre-commit action]: Auto format" |