2023-07-05 23:02:59 +00:00
|
|
|
name: commit-lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
commit-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 2
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Commit lint
|
|
|
|
# Dependabot sometimes makes some really long commit messages and I can't stop it
|
|
|
|
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') || github.actor == 'dependabot[bot]' }}
|
2023-07-31 15:08:54 +00:00
|
|
|
uses: ahmadnassri/action-conventional-commit-lint@v2.1.14
|
2023-07-05 23:02:59 +00:00
|
|
|
with:
|
|
|
|
token: ${{ github.token }}
|