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 e64527a commit 0229246Copy full SHA for 0229246
.github/workflows/commitlint.yml
@@ -0,0 +1,19 @@
1
+name: Check PR titles using commitlint
2
+
3
+on:
4
+ pull_request:
5
+ types: [edited, opened, reopened, synchronize]
6
7
+jobs:
8
+ check-pr-title:
9
+ name: Check PR title
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@master
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: '14'
16
+ - run: npm install -g --force commitlint @commitlint/cli commitlint-plugin-cleanfeet
17
+ - run: npm install conventional-changelog-conventionalcommits
18
+ - run: touch .git/COMMIT_EDITMSG
19
+ - run: echo ${{ github.event.pull_request.title }} | commitlint
0 commit comments