Skip to content

Commit

Permalink
Merge pull request #2871 from DaoCloud/weizhoublue-patch-2
Browse files Browse the repository at this point in the history
Update auto-upgrade.yaml
  • Loading branch information
weizhoublue authored Jan 16, 2025
2 parents 8aca8eb + edc3994 commit ec6dbe9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/auto-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,14 @@ jobs:
gh pr close ${PR_NUM} -c "robot: found newer version ${LATEST_VERSION}"
done
fi
sleep 5
gh pr create --title "${FINAL_TITLE}" \
--assignee "${UPGRADE_REVIWER}" \
--label "${LABEL}" \
--body "I am robot, upgrade: project ${PROJECT} chart upgrade from $VERSION to ${LATEST_VERSION}" \
--base main
--base main \
--head ${PR_BRANCH}
if (( $? != 0 )) ; then
MSG="error, failed to create PR for project ${PROJECT} for LATEST_VERSION=$LATEST_VERSION"
FAILED_MESSAGE+="${MSG} \n"
Expand Down

0 comments on commit ec6dbe9

Please sign in to comment.