From 65591b380bd4be86701fe6eb566c19229156e251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Sat, 21 Jun 2025 19:28:21 +0100 Subject: [PATCH] fixup! ci: add action-semantic-pull-request --- .github/workflows/lint-pr.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 983d3a7..42305a3 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -16,6 +16,11 @@ jobs: with: node-version: lts/* - - run: npm install -D @commitlint/cli @commitlint/config-conventional + - run: npm install -g @commitlint/config-conventional - - run: npx commitlint --from ${{ gitea.event.pull_request.base.sha }} --to ${{ gitea.event.pull_request.head.sha }} --verbose + - run: >- + npx commitlint + -g .github/workflows/commitlint.config.js + --from ${{ gitea.event.pull_request.base.sha }} + --to ${{ gitea.event.pull_request.head.sha }} + --verbose