;ci: push: tweak output

This commit is contained in:
Simon Michael 2021-07-20 22:57:55 -10:00
parent 2c7e3136e0
commit 4641db4604

View File

@ -80,7 +80,7 @@ jobs:
&& bin/commitlint $RANGE \ && bin/commitlint $RANGE \
|| ( echo "could not identify commits, checking last $NUM instead:"; bin/commitlint -$NUM ) || ( echo "could not identify commits, checking last $NUM instead:"; bin/commitlint -$NUM )
- name: Skip remaining CI steps if last commit message begins with ; ? - name: Skip remaining CI steps if latest commit message begins with ;
run: | run: |
git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \ git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} \
| grep -qE '^ *;' || echo “::set-env name=CONTINUE::true” | grep -qE '^ *;' || echo “::set-env name=CONTINUE::true”