Skip to content

Commit

Permalink
ci (#2883)
Browse files Browse the repository at this point in the history
* ci

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

* ci

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>

---------

Signed-off-by: weizhou.lan@daocloud.io <weizhou.lan@daocloud.io>
  • Loading branch information
weizhoublue authored Jan 17, 2025
1 parent 3d3b6f6 commit 33642bf
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 @@ -195,14 +195,16 @@ jobs:
fi
sleep 5
FAILED_PROJECT=""
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 \
--head ${PR_BRANCH}
if (( $? != 0 )) ; then
--head ${PR_BRANCH} || FAILED_PROJECT="${PROJECT}"
if [ -n "${FAILED_PROJECT}" ] ; then
MSG="error, failed to create PR for project ${PROJECT} for LATEST_VERSION=$LATEST_VERSION"
echo "${MSG}"
FAILED_MESSAGE+="${MSG} \n"
git reset --hard HEAD || true
continue
Expand Down

0 comments on commit 33642bf

Please sign in to comment.