From 463a5e2c3f7c598d4a406271aa27f64a3bb7c679 Mon Sep 17 00:00:00 2001 From: Rowan Manning <138944+rowanmanning@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:28:15 +0100 Subject: [PATCH] chore: don't run commitlint on dependabot PRs This fails the build when the commit is just a bit long, it's annoying. There's no need - we merge these PRs anyway. --- .github/workflows/commitlint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 8648d50d..a60884cb 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -3,6 +3,7 @@ on: [pull_request] jobs: run-commitlint-on-pr: runs-on: ubuntu-latest + if: ${{ github.event.pull_request.user.login != 'dependabot' }} steps: - uses: actions/checkout@v3