Skip to content

Commit

Permalink
ci: commitlint for merge commits (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Mar 7, 2024
1 parent a343342 commit 5565f64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint-merge-commit-name.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Lint merge commit name

on:
merge_group:
types: [checks_requested]
push:
branches-ignore:
- "master"

jobs:
lint-commit-name:
if: contains(github.ref, 'gh-readonly-queue/master/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
with:
commitDepth: 1

0 comments on commit 5565f64

Please sign in to comment.