File tree 1 file changed +2
-30
lines changed
1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change 1
- name : " Semantic PR"
1
+ name : Semantic PR
2
2
3
3
on :
4
4
pull_request_target :
9
9
10
10
jobs :
11
11
main :
12
- name : Validate PR title
13
- runs-on : ubuntu-latest
14
- steps :
15
- - uses : amannn/action-semantic-pull-request@b6bca70dcd3e56e896605356ce09b76f7e1e0d39 # v5.1.0
16
- env :
17
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
- with :
19
- # Configure which types are allowed (newline delimited).
20
- types : |
21
- feat
22
- fix
23
- chore
24
- docs
25
- deps
26
- test
27
- refactor
28
- ci
29
- requireScope : false
30
-
31
- - name : Check PR title length
32
- env :
33
- TITLE : ${{ github.event.pull_request.title }}
34
- run : |
35
- title_length=${#TITLE}
36
- if [ $title_length -gt 72 ]
37
- then
38
- echo "PR title is too long (greater than 72 characters)"
39
- exit 1
40
- fi
12
+ uses : pl-strflt/.github/.github/workflows/reusable-semantic-pull-request.yml@v0.3
You can’t perform that action at this time.
0 commit comments