tweak pre-commit and ci

This commit is contained in:
Samuel Colvin
2023-11-12 20:54:35 +00:00
parent 22269432e6
commit b4591349ed
2 changed files with 2 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ jobs:
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
env:
SKIP: no-commit-to-branch
check: # This job does nothing and is only used for the branch protection
if: always()

View File

@@ -4,7 +4,6 @@ repos:
hooks:
- id: no-commit-to-branch
- id: check-yaml
args: ['--unsafe']
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace