forked from chainguard-dev/pre-commit-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
31 lines (31 loc) · 994 Bytes
/
.pre-commit-hooks.yaml
File metadata and controls
31 lines (31 loc) · 994 Bytes
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
# See https://eng.inky.wtf/docs/technical/git/pre-commit for info on how to edit this file.
- id: check-for-epoch-bump
name: Checks that package yaml files have epoch bumps compared to main
description: Helps to prevent any accidental forgotten epoch bumps so packages rebuild properly
entry: scripts/check-for-epoch-bump.sh
language: script
verbose: true
stages:
- pre-commit
- manual
types:
- yaml
- id: shellcheck-run-steps
name: shellcheck run steps
description: run shellcheck on each "run" step in a melange pipeline
entry: shellcheck-run-steps
language: python
stages:
- pre-commit
- manual
types:
- yaml
- id: check-restored-packages
name: Check restored packages against withdrawn
description: Ensures packages being added to restored-packages.txt are removed from withdrawn-packages.txt first
entry: scripts/check-restored-packages.sh
language: script
stages:
- pre-commit
- manual
files: ^restored-packages\.txt$