From 28899a36c85537d10c2c5dcf183d63711b389a7d Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 1 Sep 2021 11:51:11 +0200 Subject: [PATCH] ci: do not run commitlint GitHub Action for dependabot The commit messages that Dependabot (@app/dependabot) creates are not always accepted by the commitlint check. The configuration for dependabot does not give a lot of options to customize the message, so instead of adjusting the message to pass commitlint, just skip the check (Mergify does not require commitlint status either). See-also: #2460 Signed-off-by: Niels de Vos --- .github/workflows/commitlint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 353d810e5..b4fc5449d 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -8,6 +8,7 @@ on: jobs: commitlint: name: commitlint + if: ${{ github.actor != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2