We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb43b9 commit 7f6fd29Copy full SHA for 7f6fd29
.github/workflows/update-from-template.yml
@@ -86,7 +86,7 @@ jobs:
86
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87
run: |
88
gh_pr_up() {
89
- gh pr create -H "${{ env.UPDATE_BRANCH }}" "$@" || gh pr edit "$@"
+ gh pr create -H "${{ env.UPDATE_BRANCH }}" "$@" || git checkout "${{ env.UPDATE_BRANCH }}" && gh pr edit "$@"
90
}
91
gh_pr_up -B "${{ steps.main.outputs.current_branch }}" \
92
--title "Update from template" \
0 commit comments