Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 07b1823

Browse files
authored
Replace outdated repo-sync/pull-request
1 parent c8f59e0 commit 07b1823

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,12 @@ jobs:
198198
git push origin
199199
200200
- name: pull-request
201-
uses: repo-sync/pull-request@v2
202-
with:
203-
destination_branch: "develop"
204-
pr_title: "Sync back"
205-
pr_body: "An automated PR to sync changes back"
201+
env:
202+
GH_TOKEN: ${{ github.token }}
203+
run: |
204+
gh_pr_up() {
205+
gh pr create "$@" || gh pr edit "$@"
206+
}
207+
gh_pr_up -B "develop" \
208+
--title "Sync back" \
209+
--body "An automated PR to sync changes back"

0 commit comments

Comments
 (0)