Skip to content

Commit 3d602c2

Browse files
committed
refactor: update
1 parent 94ffa7d commit 3d602c2

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

.github/workflows/create-pr.yml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,27 @@ jobs:
4747

4848
- name: Create Pull Request
4949
if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0'
50-
run: |
51-
gh pr create \
52-
--title "🚀 Release v${{ env.VERSION }}" \
53-
--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" \
54-
--base main \
55-
--head canary \
56-
--draft \
57-
--reviewer siumauricio \
58-
--assignee siumauricio
59-
env:
60-
GH_TOKEN: ${{ secrets.GH_PAT }}
50+
uses: peter-evans/create-pull-request@v7
51+
with:
52+
token: ${{ secrets.GH_PAT }}
53+
title: "🚀 Release ${{ env.VERSION }}"
54+
body: |
55+
## 🔄 Release ${{ env.VERSION }}
56+
57+
This PR promotes changes from `canary` to `main` for version ${{ env.VERSION }}.
58+
59+
### 🔍 Changes Include:
60+
- Version bump to ${{ env.VERSION }}
61+
- All changes from canary branch
62+
63+
### ✅ Pre-merge Checklist:
64+
- [ ] All tests passing
65+
- [ ] Documentation updated
66+
- [ ] Docker images built and tested
67+
68+
> 🤖 This PR was automatically generated from the canary branch
69+
base: main
70+
branch: canary
71+
draft: true
72+
assignees: siumauricio
73+
reviewers: siumauricio

0 commit comments

Comments
 (0)