π΅ Lint Merge Group Commit Message #752
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 |