diff --git a/.github/workflows/test-update-contribs.yml b/.github/workflows/test-update-contribs.yml index 95cd149..00ed22e 100644 --- a/.github/workflows/test-update-contribs.yml +++ b/.github/workflows/test-update-contribs.yml @@ -30,9 +30,6 @@ jobs: update-reviews update-review-teams - - name: run precommit hooks - uses: pre-commit/action@v3.0.1 - continue-on-error: true - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9bcf138..00892d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,9 +12,11 @@ # To run on all files: pre-commit run --all-files ci: - # pyosMeta disables autofixing of PRs to simplify new contributor experience and cleaner git history - autofix_prs: false - # Frequency of hook updates + autofix_prs: true + #skip: [flake8, end-of-file-fixer] + autofix_commit_msg: | + '[pre-commit.ci 🤖] Apply code format tools to PR' + # Update hook versions every quarter (so we don't get hit with weekly update pr's) autoupdate_schedule: quarterly repos: