We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00834a1 commit 5a14759Copy full SHA for 5a14759
.github/workflows/pr-lints.yml
@@ -0,0 +1,20 @@
1
+name: pr-lints
2
+
3
+on:
4
+ pull_request_target:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
10
+jobs:
11
+ semantic-title:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: amannn/action-semantic-pull-request@v4
15
+ with:
16
+ subjectPattern: ^[a-z].+$
17
+ subjectPatternError: |
18
+ The subject "{subject}" found in the pull request title "{title}" should start with a lowercase.
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
0 commit comments