Skip to content

🕵 Lint Merge Group Commit Message #614

🕵 Lint Merge Group Commit Message

🕵 Lint Merge Group Commit Message #614

name: 🕵 Lint Merge Group Commit Message
on:
pull_request:
merge_group:
jobs:
commitlint:
name: 🔎 Lint Commit Message
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Source
uses: actions/checkout@v3
if: github.event_name == 'merge_group'
with:
fetch-depth: 2
- name: 🔎 Lint Commit Message
uses: wagoid/commitlint-github-action@v5
if: github.event_name == 'merge_group'
with:
commitDepth: 1