ci: do not run commitlint GitHub Action on dependabot PRs

Currently commitlint is only skipped for PR at the time dependabot
creates them. Once Mergify rebases them, commitlint is started anyway.
This causes failed CI runs, which then need to be ignored. It is cleaner
to not run commitlint on any PR that dependabot owns.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2023-02-21 09:23:30 +01:00 committed by mergify[bot]
parent 17a342261e
commit 3325e5045e

View File

@ -11,7 +11,7 @@ permissions:
jobs:
commitlint:
name: commitlint
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3