Repository navigation
88 lines (86 loc) · 1.9 KB
/
Copy pathsemantic-pr.yml
File metadata and controls
88 lines (86 loc) · 1.9 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Semantic PR
permissions:
pull-requests: read
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which scopes are allowed (newline-delimited).
scopes: |
account
amount
block
cbor
certificate
cmd
committee
config
consensus
crypto
daemon
deps
docker
docs
encoding
execution
firewall
genesis
github
grpc
gtk
gui
html
http
jsonrpc
linter
linux
macos
main
makefile
message
network
node
other
packager
proposal
proto
release
releaser
repo
sandbox
scripts
shell
sortition
state
store
sync
tx
txpool
types
util
validator
version
vote
wallet
wallet-cmd
windows
www
zeromq
# Configure that a scope must always be provided.
requireScope: true
# The subject should not start with an uppercase character and should not end with a period.
subjectPattern: ^(?![A-Z]).+[^.]$
subjectPatternError: |
The subject "{subject}" cannot start with an uppercase character or end with a period.