You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Pass details about merge error to summary comment task
101
+
echo -n $MERGE_ERROR | tee "$(workspaces.output.path)/merge_error.txt"
102
+
# Custom error message when other pipeline is running.
103
+
if [[ "$MERGE_ERROR" == "Head branch was modified. Review and try the merge again. (mergePullRequest)" ]] ; then
104
+
echo -n "Another pipeline is already in progress: please wait for the result of the new tests." | tee "$(workspaces.output.path)/merge_error.txt"
105
+
fi
106
+
# Fail pipeline if the error is not explicitly allowed.
107
+
if [[ "$MERGE_ERROR" != "Pull Request is still a draft (mergePullRequest)" && "$MERGE_ERROR" != "Head branch was modified. Review and try the merge again. (mergePullRequest)" ]] ; then
0 commit comments