-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8f899d
commit b37d3e5
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Apply to all files without commiting: | ||
# pre-commit run --all-files | ||
# Update this file: | ||
# pre-commit autoupdate | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
# ensure syntaxes are valid | ||
- id: check-yaml | ||
# catch git merge/rebase problems | ||
- id: check-merge-conflict | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.28.5 | ||
hooks: | ||
- id: check-github-workflows | ||
# validate sub-teams schema | ||
- id: check-jsonschema | ||
files: ^teams/.*/.*\.ya?ml$ | ||
args: [--schemafile, teams/sub-teams-schema.json] | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
- id: check-useless-excludes |