Skip to content

Configuration for https://github.com/dcermak/rpm-spec-language-server #2741

Configuration for https://github.com/dcermak/rpm-spec-language-server

Configuration for https://github.com/dcermak/rpm-spec-language-server #2741

Workflow file for this run

on: [pull_request]
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: npm install --save-dev @commitlint/{cli,config-conventional}
- run: |
echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
- run: npx commitlint --from HEAD~1 --to HEAD --verbose