name: commit lint on: [pull_request] jobs: commitlint: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 with: fetch-depth: 0 - name: Lint commit uses: wagoid/commitlint-github-action@v5.5.1 with: configFile: './.commitlintrc.js' # Only check commits in the PR, not the entire history firstParent: true failOnWarnings: false