docs: Add PR title check workflow #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "PR Title Check" | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| check-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check PR Title | |
| uses: Slashgear/action-check-pr-title@v4.3.0 | |
| with: | |
| # Erlaubt feat:, fix:, chore:, docs: etc. gefolgt von Text | |
| regexp: '^(feat|fix|docs)(\(.+\))?: .+' | |
| helpMessage: "Bitte nutze Conventional Commits (z.B. 'feat: add login')." |