Skip to content

Commit

Permalink
ci: commitlint the squashed commit that's about to be merged to master (
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Dec 9, 2024
1 parent e1b06cc commit 845390a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/merge-queue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Merge Queue Checks

on:
merge_group:
types:
- checks_requested

jobs:
commitlint:
name: Commit Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}

- uses: YossiSaadi/commitlint-github-action@vibe-fork/support-merge_group-event
10 changes: 10 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ jobs:
uses: ./.github/workflows/test.yml
secrets:
npm_token: ${{ secrets.npm_token }}

commitlint:
name: Commit Lint
needs: build
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}

0 comments on commit 845390a

Please sign in to comment.