Skip to content

ci: enable OIDC trusted publishing (strip setup-node empty _authToken) #5

ci: enable OIDC trusted publishing (strip setup-node empty _authToken)

ci: enable OIDC trusted publishing (strip setup-node empty _authToken) #5

Workflow file for this run

name: commitlint
# Lint every commit in a PR's range against Conventional Commits, so
# semantic-release computes the right version bump after a merge-commit merge.
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- name: Lint PR commits
run: >
npx commitlint
--from ${{ github.event.pull_request.base.sha }}
--to ${{ github.event.pull_request.head.sha }}
--verbose