From d58b162632c2e3d1776e5813005adc26f4c26746 Mon Sep 17 00:00:00 2001 From: Todor Andonov Date: Tue, 20 Aug 2024 00:20:42 +0300 Subject: [PATCH] fix --- .github/workflows/lint.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d733d10..7b30847 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -48,17 +48,6 @@ jobs: commitlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - - name: Install commitlint - run: | - npm install conventional-changelog-conventionalcommits - npm install commitlint@latest - - - 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' - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose + - uses: amannn/action-semantic-pull-request@v1.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file