Compare commits

...

1 Commits

Author SHA1 Message Date
Barret Schloerke
7c71c369a0 Only do logic if there is SOMETHING, not NOTHING 2021-08-02 22:17:14 -04:00

View File

@@ -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"