Skip to content

Commit

Permalink
fix: remove --edit flag from commitlint cli
Browse files Browse the repository at this point in the history
  • Loading branch information
tmphat1312 committed Jul 11, 2024
1 parent e7e6278 commit 781e9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
version: 9

- name: Install dev deps
run: pnpm i
run: pnpm i -D

- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: pnpm commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
run: pnpm exec commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose

0 comments on commit 781e9cc

Please sign in to comment.