File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,14 @@ jobs:
81
81
echo "abort=0" >> $GITHUB_OUTPUT
82
82
83
83
- name : pull-request
84
- uses : repo-sync/pull-request@v2
85
84
if : steps.main.outputs.abort == 0
86
- with :
87
- github_token : ${{ secrets.GITHUB_TOKEN }}
88
- source_branch : ${{ env.UPDATE_BRANCH }}
89
- destination_branch : ${{ steps.main.outputs.current_branch }}
90
- pr_title : " Update from template"
91
- pr_body : " An automated PR to sync changes from the template into this repo"
92
-
85
+ env :
86
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87
+ run : |
88
+ gh_pr_up() {
89
+ gh pr create "$@" || gh pr edit "$@"
90
+ }
91
+ gh_pr_up -B "${{ steps.main.outputs.current_branch }}" \
92
+ -H "${{ env.UPDATE_BRANCH }}" \
93
+ --title "Update from template" \
94
+ --body "An automated PR to sync changes from the template into this repo"
You can’t perform that action at this time.
0 commit comments