mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
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:
parent
17a342261e
commit
3325e5045e
2
.github/workflows/commitlint.yaml
vendored
2
.github/workflows/commitlint.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user