Skip to content

build(deps): bump docker/setup-qemu-action from 3 to 4 #40

build(deps): bump docker/setup-qemu-action from 3 to 4

build(deps): bump docker/setup-qemu-action from 3 to 4 #40

name: Conventional Commits
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "20"
- name: Install commitlint
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
- name: Validate commits with commitlint
run: |
npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Validate PR title with commitlint
run: |
echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose