mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
28899a36c8
The commit messages that Dependabot (@app/dependabot) creates are not always accepted by the commitlint check. The configuration for dependabot does not give a lot of options to customize the message, so instead of adjusting the message to pass commitlint, just skip the check (Mergify does not require commitlint status either). See-also: #2460 Signed-off-by: Niels de Vos <ndevos@redhat.com>
20 lines
524 B
YAML
20 lines
524 B
YAML
---
|
|
name: commitlint
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
jobs:
|
|
commitlint:
|
|
name: commitlint
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: commitlint
|
|
# yamllint disable-line rule:line-length
|
|
run: make containerized-test CONTAINER_CMD=docker TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
|