mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-09 15:08:04 -05:00
Fix bash logic in action step (#3474)
This commit is contained in:
2
.github/workflows/rituals.yaml
vendored
2
.github/workflows/rituals.yaml
vendored
@@ -159,7 +159,7 @@ jobs:
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
# Can't push to a protected branch
|
||||
if [ -n "`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"
|
||||
|
||||
Reference in New Issue
Block a user