diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 2ac822855..a82af20f7 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -17,9 +17,6 @@ jobs: cache: 'npm' - run: npm ci - run: npm run lint - - name: Validate current commit (last commit) with commitlint - if: github.event_name == 'push' - run: npx commitlint --last --verbose - name: Validate PR commits with commitlint if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'red-hat-konflux[bot]' && github.event.pull_request.user.login != 'dependabot[bot]' run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose