mirror_frr/.github/workflows/commitlint.yml
Donatas Abraitis f05a0c1dde tools: Add commit linter
Run under Github Actions, and restrict commit messages, structure, with, etc.

Enforce using only our specified prefixes for commit messages. It reduces the
work release managers do when _crafting_ release notes.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-01-31 13:25:25 +02:00

20 lines
365 B
YAML

name: commitlint
on:
pull_request_target:
types:
- opened
- reopened
jobs:
lint:
if: github.repository == 'frrouting/frr'
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Check Commit
uses: wagoid/commitlint-github-action@v5
with:
configFile: .github/commitlint.config.js