refactor: update

This commit is contained in:
Mauricio Siu 2025-01-19 10:35:07 -06:00
parent 498678c4ae
commit 3f8bc47ce5

View File

@ -48,12 +48,20 @@ jobs:
- name: Create Pull Request
if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0'
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git fetch origin main
git checkout -b release/${{ env.VERSION }}
git push origin release/${{ env.VERSION }}
gh pr create \
--title "🚀 Release v${{ env.VERSION }}" \
--body "## 🔄 Release v${{ env.VERSION }}\n\nThis PR promotes changes from \`canary\` to \`main\` for version v${{ env.VERSION }}.\n\n### 🔍 Changes Include:\n- Version bump to v${{ env.VERSION }}\n- All changes from canary branch\n\n### ✅ Pre-merge Checklist:\n- [ ] All tests passing\n- [ ] Documentation updated\n- [ ] Docker images built and tested\n\n> 🤖 This PR was automatically generated from the canary branch" \
--title "🚀 Release ${{ env.VERSION }}" \
--body "## 🔄 Release ${{ env.VERSION }}\n\nThis PR promotes changes from \`canary\` to \`main\` for version v${{ env.VERSION }}.\n\n### 🔍 Changes Include:\n- Version bump to v${{ env.VERSION }}\n- All changes from canary branch\n\n### ✅ Pre-merge Checklist:\n- [ ] All tests passing\n- [ ] Documentation updated\n- [ ] Docker images built and tested\n\n> 🤖 This PR was automatically generated by [GitHub Actions](https://github.com/actions)." \
--base main \
--head canary \
--head release/${{ env.VERSION }} \
--draft \
--label "release" --label "automated pr" \
--reviewer siumauricio \
--assignee siumauricio
env: