2020-12-04 05:32:12 +00:00
|
|
|
---
|
|
|
|
name: commitlint
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
2022-05-01 01:00:30 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-12-04 05:32:12 +00:00
|
|
|
jobs:
|
|
|
|
commitlint:
|
|
|
|
name: commitlint
|
2023-02-21 08:23:30 +00:00
|
|
|
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
|
2020-12-04 05:32:12 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-09-18 09:19:02 +00:00
|
|
|
# yamllint disable-line rule:line-length
|
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
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
|
2023-08-07 11:30:36 +00:00
|
|
|
run: make containerized-test TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
|