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.
2 parents 35da4f6 + 4a9626f commit 22a4345Copy full SHA for 22a4345
.github/workflows/update-from-template.yml
@@ -86,9 +86,8 @@ jobs:
86
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87
run: |
88
gh_pr_up() {
89
- gh pr create "$@" || 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
- -H "${{ env.UPDATE_BRANCH }}" \
93
--title "Update from template" \
94
--body "An automated PR to sync changes from the template into this repo"
0 commit comments