-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (62 loc) · 1.41 KB
/
Copy pathcommitlint.yml
File metadata and controls
65 lines (62 loc) · 1.41 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Commit Lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
pull-requests: read
jobs:
lint-pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
refactor
chore
docs
test
build
ci
perf
hotfix
scopes: |
orchestrator
restic-adapter
cli
audit
config
notifiers
dumpers
encryptors
hooks
scheduler
http
persistence
domain
application
infrastructure
shared
docker
deps
main
backup
restore-guide
deploy
ci
commitlint
docs
security
release
test
lint
requireScope: false
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
must start with a lowercase letter.
Example: "feat(cli): add dry-run validation checks"