2020-08-24 00:12:33 +00:00
|
|
|
name: commit-lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
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 17:20:34 +00:00
|
|
|
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }}
|
2020-09-30 20:48:35 +00:00
|
|
|
uses: ahmadnassri/action-conventional-commit-lint@v1.0.0
|
2020-08-24 00:12:33 +00:00
|
|
|
with:
|
2020-09-28 22:30:03 +00:00
|
|
|
token: ${{ github.token }}
|