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.
2 parents c70198a + a529a8d commit 9b9ce0eCopy full SHA for 9b9ce0e
.github/workflows/commitlint.yml
@@ -0,0 +1,19 @@
1
+name: commitlint
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ commitlint:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: actions/setup-node@v3
12
+ with:
13
+ node-version: 18
14
+ cache: npm
15
16
+ - run: npm ci
17
+ - run: 'echo "${PR_TITLE}" | npx commitlint'
18
+ env:
19
+ PR_TITLE: ${{ github.event.pull_request.title }}
0 commit comments