Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 6447152

Browse files
authored
chore: Update .github/workflows/semantic-pull-request.yml [skip ci]
1 parent 3cd54ac commit 6447152

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed
+2-30
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Semantic PR"
1+
name: Semantic PR
22

33
on:
44
pull_request_target:
@@ -9,32 +9,4 @@ on:
99

1010
jobs:
1111
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

0 commit comments

Comments
 (0)