Luís Murta 01a9f4109d
Some checks failed
Go / build (1.24) (pull_request) Successful in 35s
Go / build (1.22) (pull_request) Successful in 21s
Go / build (1.23) (pull_request) Successful in 36s
Lint PR / commitlint (pull_request) Failing after 25s
fixup! ci: add action-semantic-pull-request
2025-06-21 19:03:28 +01:00

20 lines
442 B
YAML

name: Lint PR
on:
pull_request:
branches: ["main"]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm install -D @commitlint/cli @commitlint/config-conventional
- run: npx commitlint --from ${{ gitea.event.pull_request.base.sha }} --to ${{ gitea.event.pull_request.head.sha }} --verbose