diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml index 6e15b1a89..bee087bb7 100644 --- a/.github/workflows/create-pr.yml +++ b/.github/workflows/create-pr.yml @@ -47,29 +47,15 @@ jobs: - name: Create Pull Request if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0' - uses: peter-evans/create-pull-request@v7 - with: - token: ${{ secrets.GH_PAT }} - title: "🚀 Release v${{ env.VERSION }}" - body: | - ## 🔄 Release v${{ env.VERSION }} - This PR promotes changes from `canary` to `main` for version v${{ env.VERSION }}. - ### 🔍 Changes Include: - - Version bump to v${{ env.VERSION }} - - All changes from canary branch - ### ✅ Pre-merge Checklist: - - [ ] All tests passing - - [ ] Documentation updated - - [ ] Docker images built and tested - > 🤖 This PR was automatically generated from the canary branch - base: main - branch: release/v${{ env.VERSION }} - draft: true - labels: | - release - automated pr - reviewers: | - siumauricio - assignees: | - siumauricio - delete-branch: false + run: | + 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" \ + --base main \ + --head canary \ + --draft \ + --label "release" --label "automated pr" \ + --reviewer siumauricio \ + --assignee siumauricio + env: + GH_TOKEN: ${{ secrets.GH_PAT }}