File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Lint PR"
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+
10
+ jobs :
11
+ main :
12
+ name : Validate PR title
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : amannn/action-semantic-pull-request@v4
16
+ env :
17
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
+ with :
19
+ # Configure which types are allowed.
20
+ # Default: https://github.com/commitizen/conventional-commit-types
21
+ types : |
22
+ bugfix # bug fixes
23
+ change # backward incompatible changes
24
+ doc # documentation changes including code comments
25
+ editor # code editor related configurations
26
+ feature # implementing a new feature
27
+ optimize # performance optimizations
28
+ refactor # code refactoring and other code rearrangement
29
+ style # coding style changes
30
+ tests # test suite changes
You can’t perform that action at this time.
0 commit comments