Files
profanity/.github/workflows/commit-lint.yml
Michael Vetter 9407eb958d ci: Add linter to make sure we use Conventional Commits
This will make it easier for us to write Changelogs for example.
See https://www.conventionalcommits.org/en/v1.0.0.
Also mentioned in the CONTRIBUTING.md

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
2026-03-21 01:05:11 +01:00

18 lines
308 B
YAML

name: "Commits"
on:
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Applies to all commits
fetch-depth: 0
- name: "Conventional Commits"
uses: wagoid/commitlint-github-action@v6