Skip to content

Commit 3194a79

Browse files
authored
ci: Add conventional commits check (#167)
* Add conventional commits check * add more context why we need this
1 parent 638ac2f commit 3194a79

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This helps the tag.yaml action to automatically create new releases
2+
#
3+
# tag.yaml requires all commits to follow the conventional commit pattern so that it can
4+
# automatically derive the next release version based on the commit history
5+
6+
name: Verify PR title/description
7+
on:
8+
pull_request_target:
9+
types:
10+
- opened
11+
- edited
12+
- synchronize
13+
permissions:
14+
pull-requests: read
15+
jobs:
16+
check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v5
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)