Skip to content

chore(deps): update actions/setup-node digest to 0a44ba7 #541

chore(deps): update actions/setup-node digest to 0a44ba7

chore(deps): update actions/setup-node digest to 0a44ba7 #541

Workflow file for this run

name: Check commit message format
on:
pull_request:
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20.9'
- name: Install commitlint
run: |
npm install @commitlint/[email protected] @commitlint/[email protected]
echo "module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [2, 'always', 1000]
}
}" > commitlint.config.js
- name: Validate PR commits with commitlint
run: |
npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose