2020-08-24 00:12:33 +00:00
|
|
|
name: commit-lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
2023-09-25 18:29:05 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-24 00:12:33 +00:00
|
|
|
jobs:
|
2020-09-30 20:48:35 +00:00
|
|
|
commit-lint:
|
2020-08-24 00:12:33 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-09-30 20:48:35 +00:00
|
|
|
- name: Commit lint
|
2020-09-30 21:19:14 +00:00
|
|
|
# Dependabot sometimes makes some really long commit messages and I can't stop it
|
2020-10-02 22:14:50 +00:00
|
|
|
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') || github.actor == 'dependabot[bot]' }}
|
2023-11-21 11:40:12 +00:00
|
|
|
uses: ahmadnassri/action-conventional-commit-lint@v2.1.17
|
2020-08-24 00:12:33 +00:00
|
|
|
with:
|
2020-09-28 22:30:03 +00:00
|
|
|
token: ${{ github.token }}
|