Skip to content

Commit

Permalink
chore(ci): fix commit msg hook to not format in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sammccord committed Jul 24, 2024
1 parent 31de323 commit 1cf43e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN }}
RELEASING: true

# TODO: do we want this?
# docs:
Expand Down
2 changes: 1 addition & 1 deletion .lefthook/commit-msg/commitlint.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
echo $(head -n1 $1) | npx commitlint --color
[[ -z "${RELEASING}" ]] && echo $(head -n1 $1) | npx commitlint --color || echo $(head -n1 $1)

0 comments on commit 1cf43e8

Please sign in to comment.