Skip to content

ci: remove semantic release #2

ci: remove semantic release

ci: remove semantic release #2

Workflow file for this run

name: Validate PR commit messages
on:
pull_request:
branches: ["main"]
jobs:
commitlint:
name: Validate commit messages
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install commitlint
run: |
npm install commitlint @commitlint/config-conventional @commitlint/cli
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose