We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57d5c72 commit 3f8f148Copy full SHA for 3f8f148
1 file changed
.github/workflows/pr-title.yml
@@ -0,0 +1,22 @@
1
+name: PR Title Check
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+ - reopened
10
11
+jobs:
12
+ pr-title-lint:
13
+ name: Lint PR title
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: amannn/action-semantic-pull-request@v5
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ with:
20
+ requireScope: false
21
+ subjectPattern: ^.+$
22
+ subjectPatternError: PR title must follow Conventional Commits format (e.g. "feat: add feature" or "fix(scope): fix bug").
0 commit comments