Skip to content

Commit

Permalink
add exception for o1js to merges-cleanly job
Browse files Browse the repository at this point in the history
  • Loading branch information
mitschabaude committed Oct 25, 2023
1 parent 9768358 commit a67eb26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildkite/scripts/merges-cleanly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ if [ $RET -eq 0 ]; then
echo "No conflicts found against upstream branch ${BRANCH}"
exit 0
else
# exclude branches for which merging cleanly is not a hard requirement
if [ "${CURRENT}" == "o1js-main" ]; then
echo "Conflicts were found, but the current branch does not have to merge cleanly. Exiting with code 0."
exit 0
fi

# Found a conflict
echo "[ERROR] This pull request conflicts with $BRANCH, please open a new pull request against $BRANCH at this link:"
echo "https://github.com/MinaProtocol/mina/compare/${BRANCH}...${BUILDKITE_BRANCH}"
Expand Down

0 comments on commit a67eb26

Please sign in to comment.