21 lines
610 B
YAML
21 lines
610 B
YAML
name: Conventional Tools Commitlint
|
|
|
|
on:
|
|
push: { branches: ["0.x"] }
|
|
pull_request: { branches: ["0.x"] }
|
|
|
|
jobs:
|
|
commits:
|
|
name: Commitlint
|
|
runs-on: ubuntu-latest
|
|
container: practically/conventional-tools:1.x@sha256:a3e98697743d8801c694b92553da733aff0fbae6bf92876b13c92343a569f049
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with: {fetch-depth: 1000}
|
|
|
|
- name: Git safe.directory
|
|
run: git config --global --add safe.directory $PWD
|
|
|
|
- name: Lint commits
|
|
run: conventional-tools commitlint -l1 -f39febd82e236a9c79f5b408e98cbd20410f11e9e
|