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

Commit 7f6fd29

Browse files
committed
Update update-from-template.yml
1 parent 6cb43b9 commit 7f6fd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-from-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8787
run: |
8888
gh_pr_up() {
89-
gh pr create -H "${{ env.UPDATE_BRANCH }}" "$@" || gh pr edit "$@"
89+
gh pr create -H "${{ env.UPDATE_BRANCH }}" "$@" || git checkout "${{ env.UPDATE_BRANCH }}" && gh pr edit "$@"
9090
}
9191
gh_pr_up -B "${{ steps.main.outputs.current_branch }}" \
9292
--title "Update from template" \

0 commit comments

Comments
 (0)