Merge pull request #238 from ttshivers/commit_lint_fix

ci(commitlint): allow failure if dependabot actor
This commit is contained in:
Travis Shivers 2020-10-02 17:22:31 -05:00 committed by GitHub
commit fac223dc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }}
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') || github.actor == 'dependabot[bot]' }}
uses: ahmadnassri/action-conventional-commit-lint@v1.0.0
with:
token: ${{ github.token }}