We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63e0d57 commit 7e00936Copy full SHA for 7e00936
1 file changed
.github/workflows/lint-pr-title.yml
@@ -0,0 +1,23 @@
1
+name: "Lint PR Title"
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
10
+jobs:
11
+ main:
12
+ name: Validate PR Title
13
+ runs-on: ubuntu-slim
14
+ steps:
15
+ - name: Semantic PR Title
16
+ uses: amannn/action-semantic-pull-request@v5
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ with:
20
+ # Enforce that the subject starts with a lowercase letter.
21
+ subjectPattern: ^[a-z].*$
22
+ subjectPatternError: |
23
+ The subject "{subject}" must start with a lowercase letter.
0 commit comments