fix(pre-commit): remove deprecated stage name & port to GitHub Actions (#5)
Release pipeline / Precommit check (push) Has been cancelled

This commit is contained in:
Iain Sproat
2026-04-03 10:31:16 +01:00
committed by GitHub
parent 20883c95e8
commit e4bde6ce7c
8 changed files with 44 additions and 184 deletions
+4 -9
View File
@@ -1,14 +1,9 @@
default_stages:
- 'commit'
- 'pre-commit'
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v2.7.1'
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.3.0'
rev: 'v6.0.0'
hooks:
- id: check-yaml
- id: check-merge-conflict
@@ -20,12 +15,12 @@ repos:
- id: end-of-file-fixer
- repo: https://github.com/syntaqx/git-hooks
rev: 'v0.0.17'
rev: 'v0.0.18'
hooks:
- id: forbid-binary
- repo: https://github.com/pre-commit/pre-commit
rev: 'v2.20.0'
rev: 'v4.5.1'
hooks:
- id: validate_manifest