synclounge/.github/workflows/commit-lint.yml

17 lines
470 B
YAML

name: commit-lint
on:
pull_request:
jobs:
commit-lint:
runs-on: ubuntu-latest
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]' }}
uses: ahmadnassri/action-conventional-commit-lint@v2.0.12
with:
token: ${{ github.token }}