Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions merge/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ function open_and_merge_pull_request() {
# pushes merge commit
if ! git push origin "${1}"; then
echo "DEBUG: pushing ${GITHUB_REF} merged into $1 failed"
echo "DEBUG: reverting back to origin/${1} so subsequent"
echo "DEBUG: steps can work with a clean working tree"
git reset --hard "origin/${1}"
return 1
fi

Expand Down
Loading