diff --git a/.github/workflows/on-push-to-main.yml b/.github/workflows/on-push-to-main.yml index 49e551a7..7a3d52ea 100644 --- a/.github/workflows/on-push-to-main.yml +++ b/.github/workflows/on-push-to-main.yml @@ -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: diff --git a/.lefthook/commit-msg/commitlint.sh b/.lefthook/commit-msg/commitlint.sh index 0a9c5a33..e53ec468 100755 --- a/.lefthook/commit-msg/commitlint.sh +++ b/.lefthook/commit-msg/commitlint.sh @@ -1 +1 @@ -echo $(head -n1 $1) | npx commitlint --color +[[ -z "${RELEASING}" ]] && echo $(head -n1 $1) | npx commitlint --color || echo $(head -n1 $1)