mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
538e36f7a7
GitHub Actions include a merge commit for the PR, which will defeat the commitlint checking of all the commits inside the PR (only the merge commit is checked). Signed-off-by: Niels de Vos <ndevos@redhat.com>
19 lines
475 B
YAML
19 lines
475 B
YAML
---
|
|
name: commitlint
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
jobs:
|
|
commitlint:
|
|
name: commitlint
|
|
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}"
|