Skip to content

Commit

Permalink
Don't set AUTO_UPDATE to failed if git push didn't fail
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Feb 22, 2024
1 parent 5afa923 commit 01a9d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ jobs:
BRANCH_NAME="${{ steps.branch-name.outputs.head_ref_branch }}"
git pull origin ${BRANCH_NAME}
git push -v origin HEAD:${BRANCH_NAME} || \
echo "⚠️ Could not push to ${BRANCH_NAME} on $(git remote -v show -n origin | grep Push)" && \
AUTO_UPDATE=failed
(echo "⚠️ Could not push to ${BRANCH_NAME} on $(git remote -v show -n origin | grep Push)" && \
AUTO_UPDATE=failed)
}
fi
# If auto-update is disabled or is unsuccessful, let 'em know to fix manually
Expand Down

0 comments on commit 01a9d37

Please sign in to comment.