File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 9
9
- synchronize
10
10
11
11
permissions :
12
- contents : read
13
12
pull-requests : write
13
+ contents : read
14
14
15
15
jobs :
16
16
main :
17
17
name : Validate PR title
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : amannn/action-semantic-pull-request@v5
20
+ - uses : amannn/action-semantic-pull-request@v6
21
21
env :
22
22
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
23
with :
24
- types : |
25
- build
26
- chore
27
- ci
28
- docs
29
- feat
30
- fix
31
- perf
32
- refactor
33
- revert
34
- style
35
- test
36
- subjectPattern : ^[A-Z].+$
24
+ subjectPattern : ^(?![A-Z]).+$
37
25
subjectPatternError : |
38
- The subject of the PR must begin with an uppercase letter.
26
+ The subject "{subject}" found in the pull request title "{title}"
27
+ didn't match the configured pattern. Please ensure that the subject
28
+ doesn't start with an uppercase character.
You can’t perform that action at this time.
0 commit comments