Hi all! I'm trying to enable per PR deploys follow...
# seed
v
Hi all! I'm trying to enable per PR deploys following the docs and am running into some issues. When Seed tries to checkout the PR I get a
fatal: reference is not a tree: <commit hash>
. I think this is because my team forks our repo into our personal github accounts, and open PRs from that fork to the company repo. So, the commit hash from the PR doesn't actually exist in our repo, but in someone's personal fork. Do y'all have any guidance here?
f
Hey @Varun Mohan, can u send me a link to the build?
v
i deleted the pr stage, so the logs are lost from what I can tell
f
Let me take a look on our end, and I will keep you posted on this.
v
Thank you
Any luck? I can also turn on per PR deploys again and try to get a new log
f
Yeah we had a look. You are right, it does seem like the commit is not found in the main repo’s git tree.
I think for GitHub there might be a way to fetch a PR commit from another repo. And we might need to expose an option in
seed.yml
to enable this.
I put it down on our roadmap. Most likely we won’t be able to get to this right away. In the mean while, is it possible to have ppl submit PRs from branches in the same repo by any chance?
v
Yeah, we're having the team move to the branches in the same repo, which was a useful change for some other automation we're setting up too