🕵 Lint Merge Group Commit Message #623
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |