Skip to content

Commit fb05fad

Browse files
ci: add pre-commit.ci config block for hosted hook runs + autoupdates
1 parent 58d0bc6 commit fb05fad

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
# Install: ``pre-commit install``. On every commit, hooks in this file run
44
# against the staged files and either auto-fix (ruff --fix, trailing
55
# whitespace) or block the commit with a readable error.
6+
#
7+
# Hosted runs: pre-commit.ci runs these hooks on every PR and opens an
8+
# auto-update PR weekly to bump the rev pins below.
9+
10+
ci:
11+
autofix_commit_msg: |
12+
style: pre-commit auto-fixes
13+
14+
[pre-commit.ci] auto-applied fixes from configured hooks
15+
autoupdate_commit_msg: |
16+
chore(deps): pre-commit autoupdate
17+
autoupdate_schedule: weekly
618

719
repos:
820
# ── Standard hygiene ──────────────────────────────────────────────

0 commit comments

Comments
 (0)