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:
|
2023-09-04 20:50:18 +00:00
|
|
|
- uses: actions/checkout@v4
|
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}"
|