forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (29 loc) · 1.02 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
# Trims trailing whitespace
- id: trailing-whitespace
# Makes sure files end in a newline and only a newline
- id: end-of-file-fixer
# Check for files that contain merge conflict strings
- id: check-merge-conflict
- repo: https://github.com/marco-c/taskcluster_yml_validator
rev: v0.0.9
hooks:
# Validates .taskcluster.yml file against possible GitHub events
- id: taskcluster_yml
exclude: |
(?x)(
^generated/|
^infrastructure/k8s/values.schema.json|
^services/auth/src/static-scopes.json|
^clients/client-rust/integration_tests/src/lib.rs|
^ui/src/components/AuthConsent/__snapshots__/|
^ui/src/components/TaskDetailsCard/__snapshots__/|
^services/worker-manager/test/fixtures/
)
ci:
skip: [taskcluster_yml]