Files
OMS/.github/workflows/commitlint.yml
2025-12-28 23:13:25 +08:00

21 lines
384 B
YAML

name: Commitlint
on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:
branches: [main, master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate commits with commitlint
uses: wagoid/commitlint-github-action@v6