We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3925da commit a434bedCopy full SHA for a434bed
.github/workflows/title-validation.yaml
@@ -0,0 +1,34 @@
1
+# See https://github.com/amannn/action-semantic-pull-request
2
+name: 'PR Title is Conventional'
3
+
4
+on:
5
+ pull_request_target:
6
+ types:
7
+ - opened
8
+ - edited
9
+ - synchronize
10
11
+jobs:
12
+ main:
13
+ name: Validate 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
+ types: |
21
+ build
22
+ chore
23
+ ci
24
+ docs
25
+ feat
26
+ fix
27
+ perf
28
+ refactor
29
+ revert
30
+ style
31
+ test
32
+ subjectPattern: ^[A-Z].+$
33
+ subjectPatternError: |
34
+ The subject of the PR must begin with an uppercase letter.
0 commit comments