Luís Murta 22281def8f
All checks were successful
Lint PR / commitlint (pull_request) Successful in 19s
ci: add commitlint action
To check that commits are according to the Conventional Commits spec.
https://www.conventionalcommits.org/en/v1.0.0/
2025-06-21 23:59:11 +01:00

21 lines
376 B
YAML

name: Lint PR
on:
pull_request:
branches: ["main"]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: >-
npx
commitlint
--from ${{ gitea.event.pull_request.base.sha }}
--to ${{ gitea.event.pull_request.head.sha }}
--verbose