Skip to content

build(deps): update rust crate thiserror to v2 #437

build(deps): update rust crate thiserror to v2

build(deps): update rust crate thiserror to v2 #437

Workflow file for this run

name: Lint commits
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: Lint commits
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node toolchain
uses: ./.github/actions/setup-node
- name: Check if commits respect the conventional commit format (PR)
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
- name: Check if commits respect the conventional commit format (push)
if: github.event_name == 'push'
run: npx commitlint --from ${{ github.event.before }} --to ${{ github.event.after }} --verbose