From f7de680e7bf39dde5e524dca0a0a13deb4c32574 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Wed, 30 Dec 2020 13:45:27 +0000 Subject: [PATCH] ci(commitlint): disable commitlint for dependabot Refs https://github.com/wagoid/commitlint-github-action/issues/69 Refs https://github.com/dependabot/dependabot-core/issues/2445 Refs: https://github.com/americanexpress/one-app/pull/295 --- .github/workflows/commitlint.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 55dfa797..131a26bf 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -1,4 +1,4 @@ -name: Lint Commit Messages +name: commitlint on: [pull_request] @@ -9,7 +9,8 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: commitlint + - if: (github.actor!= 'dependabot[bot]') && (contains(github.head_ref, 'dependabot/') == false) + name: commitlint uses: wagoid/commitlint-github-action@v2 with: helpURL: https://www.conventionalcommits.org/