From 145ff6ff7bdf07befc33a4296f51c00450889f8f Mon Sep 17 00:00:00 2001 From: Sergey Kupletsky Date: Mon, 16 Dec 2024 11:05:43 +0100 Subject: [PATCH] ci: skip commitlint for dependabot --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1451ba..2730d3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: node-version: '20.18.0' - name: Fetch main branch and run commitlint - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'dependabot[bot]' run: | git fetch origin main npx commitlint --from=origin/main