2020-12-04 05:32:12 +00:00
|
|
|
---
|
|
|
|
name: commitlint
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
commitlint:
|
|
|
|
name: commitlint
|
2021-09-01 09:51:11 +00:00
|
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
2020-12-04 05:32:12 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-05 09:58:22 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-06-07 08:40:26 +00:00
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
2020-12-04 05:32:12 +00:00
|
|
|
- name: commitlint
|
2021-06-07 08:40:26 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
|
|
|
run: make containerized-test CONTAINER_CMD=docker TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
|