mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-16 08:13:25 +00:00
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>
20 lines
365 B
YAML
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
|