Skip to content

Commit d645a5e

Browse files
authored
Remove deprecated action
1 parent 6afd291 commit d645a5e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,12 @@ jobs:
158158
git push origin
159159
160160
- name: pull-request
161-
uses: repo-sync/pull-request@v2
162-
with:
163-
destination_branch: "develop"
164-
pr_title: "Sync back"
165-
pr_body: "An automated PR to sync changes back"
161+
env:
162+
GH_TOKEN: ${{ github.token }}
163+
run: |
164+
gh_pr_up() {
165+
gh pr create "$@" || gh pr edit "$@"
166+
}
167+
gh_pr_up -B "develop" \
168+
--title "Sync back" \
169+
--body "An automated PR to sync changes back"

0 commit comments

Comments
 (0)