support: external_repository
seems to not support a PR-based workflow
#1114
Labels
support
User support
external_repository
seems to not support a PR-based workflow
#1114
Checklist
Describe your question
I have succeeded in using the
peaceiris/actions-gh-pages@v4
action to push a branch to anexternal_repository
using adeploy_key
as described in the docs. To achieve this, I usepublish_branch: ${{ github.ref_name }}
.As a final sanity check, I would like to manually create a PR from, eg,
newbranch/3@abcdef
tomain
, wheremain
is a protected branch that is published to the web through gh-pages.Unfortunately, the new branch pushed by the
peaceiris/actions-gh-pages@v4
action doesn't share a commit history withmain
because it came from a static site generator. Github refuses to allow PRs without any shared history.The net result is that I'm unable to use a PR-based workflow on my
external_repository
. In fact, there doesn't appear to be a way to merge the new branch unless I do some manual git-fu.Is my only choice is to use
publish_branch: main
?Relevant links
The text was updated successfully, but these errors were encountered: