Skip to content

feat: use commitlint to validate commit messages #54

feat: use commitlint to validate commit messages

feat: use commitlint to validate commit messages #54

name: Conventional Commits
# Modeled after https://github.com/oss-review-toolkit/ort
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
commit-lint:
name: Validate commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- name: Check Commit Messages
uses: wagoid/commitlint-github-action@v6
with: { configFile: .commitlintrc.yml }