Skip to content

Commit 90f4f04

Browse files
Update test-for-work.yml
Signed-off-by: Benjamin Swanepoel <49689582+superbrobenji@users.noreply.github.com>
1 parent f67777a commit 90f4f04

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/test-for-work.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,9 @@ jobs:
7070
echo ${{ steps.create_branch.outputs.new_branch }}
7171
git push origin ${{ steps.create_branch.outputs.new_branch }}
7272
- name: Create Pull Request
73-
uses: peter-evans/create-pull-request@v7
7473
env:
7574
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76-
with:
77-
token: ${{ secrets.GITHUB_TOKEN }}
78-
base: ${{ inputs.target_branch }}
79-
branch: ${{ steps.create_branch.outputs.new_branch }}
80-
delete-branch: false
81-
title: "Cherry-pick PRs for Milestone: ${{ inputs.milestone }}"
82-
body: "This PR cherry-picks the following commits into the ${{ inputs.target_branch }} branch:\n\n${{ steps.fetch_prs.outputs.pr_list }}"
75+
run: |
76+
gh pr create --base ${{ inputs.target_branch }} --head ${{ steps.create_branch.outputs.new_branch }} -t "Cherry-pick PRs for Milestone: ${{ inputs.milestone }}" -b "This PR cherry-picks the following commits into the ${{ inputs.target_branch }} branch:\n\n${{ steps.fetch_prs.outputs.pr_list }}"
8377
8478

0 commit comments

Comments
 (0)