This commit is contained in:
David Holdeman 2021-02-12 21:27:29 -06:00 committed by GitHub
parent 4d358f4759
commit 27415a49a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ jobs:
git status
OUT=$(git commit -m "Trigger wheel definitions" unit_tests/triggers.txt 2>&1) || echo "commit failed, finding out why"
echo "$OUT"
if echo "$OUT" | grep 'nothing to commit'; then
if echo "$OUT" | grep -E 'nothing to commit|no changes added'; then
echo "::set-env name=NOCOMMIT::true"
exit 0
elif echo "$OUT" | grep 'changed'; then