From 1ce6359d6ea1f5b1507dce0a942915a8d8eb3c6a Mon Sep 17 00:00:00 2001 From: Travis Shivers Date: Fri, 2 Oct 2020 12:20:34 -0500 Subject: [PATCH] ci(commitlint): allow error on Dependabot PRs --- .github/workflows/commit-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 173b859a..07673a79 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Commit lint # Dependabot sometimes makes some really long commit messages and I can't stop it - continue-on-error: ${{ github.actor == 'dependabot[bot]' }} + continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }} uses: ahmadnassri/action-conventional-commit-lint@v1.0.0 with: token: ${{ github.token }}