-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
41 lines (39 loc) · 1005 Bytes
/
.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
33
34
35
36
37
38
39
40
41
exclude: >
(?x)^(
template/* |
helm/templates/*
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
stages: [commit]
- id: check-merge-conflict
stages: [commit]
- id: check-xml
stages: [commit]
- repo: https://github.com/jguttman94/pre-commit-gradle
rev: v0.2.1
hooks:
- id: gradle-spotless
args: ['-w', '-o']
stages: [commit, push]
- id: gradle-task
args: ['test','-w','-o']
stages: [push]
- repo: local
hooks:
- id: commit-message
name: commit-message
entry: scripts/commit-message.sh
language: script
stages: [commit-msg]
# - id: verify-generated-proj
# name: verify generated project
# entry: scripts/verify-generated-proj.sh
# language: script
# verbose: true
# always_run: true
# pass_filenames: false
# stages: [commit]