We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53b3096 commit f5be49cCopy full SHA for f5be49c
.github/workflows/nodejs.yml
@@ -51,8 +51,9 @@ jobs:
51
- name: Security audit
52
run: npm run security
53
54
- - name: Check commit message
55
- uses: wagoid/commitlint-github-action@v5
+ - name: Validate PR commits with commitlint
+ if: github.event_name == 'pull_request'
56
+ run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
57
58
test:
59
name: Test - ${{ matrix.os }} - Node v${{ matrix.node-version }}, Webpack ${{ matrix.webpack-version }}
0 commit comments