Skip to content

Commit e604ae2

Browse files
authored
Add PR title check workflow
1 parent 699d5d4 commit e604ae2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "PR Title Check"
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize, reopened]
6+
7+
jobs:
8+
check-title:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check PR Title
12+
uses: Slashgear/action-check-pr-title@v4.3.0
13+
with:
14+
# Erlaubt feat:, fix:, chore:, docs: etc. gefolgt von Text
15+
regexp: "(feat|fix|docs): .++" # Regex the title should match.
16+
helpMessage: "Bitte nutze Conventional Commits (z.B. 'feat: add login')."

0 commit comments

Comments
 (0)