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
|
2024-10-07 20:14:45 +00:00
|
|
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
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}"
|