Skip to content
Open
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
8 changes: 7 additions & 1 deletion .github/workflows/promote-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git checkout main
git merge ${{ steps.get_commit.outputs.commit_sha }}
git merge ${{ steps.get_commit.outputs.commit_sha }} || {
echo "Merge conflict detected. Resolving Chart.yaml to release version."
git checkout ${{ steps.get_commit.outputs.commit_sha }} -- .helm/ctrl/Chart.yaml
git add .helm/ctrl/Chart.yaml
git commit -m "Auto-resolved Chart.yaml conflict during release promotion"
}

git push origin main

- name: Create and push release tag
Expand Down
Loading