-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build fork private repo (PR) #812
Comments
Can you try the following?
I can give it a try on my end with a private repo, but probably not today. |
Thanks. I tried "1" , didn't help. Or if you have other tips that might fix it.. Thanks, |
Yeah it used to work fine, but these token permissions seem to change all the time 😐 |
According to this line : action-ros-ci/src/action-ros-ci.ts Line 558 in 79e12af
I think you try to clone the PR source repo and not the target PR repo, sounds right? According to GitHub actions documentation head means the source repo (which is not the workfile repo) |
@timor-raiman FYI |
Good observation. Sounds like you have two private repos, and you use one as a fork (repo B) and open pull requests against the other one (repo A). Is that correct? My recommendation would be to not fork a private repo, but I guess that doesn't help you much. Does it work if you use this change then? timor-raiman@c3757c1. I don't think it does (at least not for all cases), because cloning the target repo with a commit hash belonging to the source repo doesn't work. |
Correct, forking the private repo and trying to PR from the fork to the main |
Of course, improvements and fixes are always welcome! |
If dirk-thomas/vcstool#258 can be fixed, #816 would resolve this... |
Hi,
I am trying to get action-ros-ci to build PR's (origin from the form to the main repo) on a private repo.
I currently get an error on this stage:
I followed the guide and added this line:
And I get this error:
Any idea why?
yaml file:
The text was updated successfully, but these errors were encountered: