From 7600770a6e28a0142107e158e6bfbc5d63aa6668 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Mon, 2 Aug 2021 22:19:31 -0400 Subject: [PATCH] Fix Rituals workflow validating commits have not been made (#3473) --- .github/workflows/rituals.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rituals.yaml b/.github/workflows/rituals.yaml index 369a7ad12..779c37c39 100644 --- a/.github/workflows/rituals.yaml +++ b/.github/workflows/rituals.yaml @@ -159,7 +159,7 @@ jobs: if: github.event_name == 'push' run: | # Can't push to a protected branch - if [ -z "`git cherry origin/master`"]; then + if [ -n "`git cherry origin/master`"]; then echo "Un-pushed commits:" git cherry -v origin/master echo "\nCan not push to a protected branch. Exiting"