-
-
Notifications
You must be signed in to change notification settings - Fork 295
Fix fork PR builds #105
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
Fix fork PR builds #105
Conversation
Codecov Report
@@ Coverage Diff @@
## master #105 +/- ##
==========================================
+ Coverage 94.67% 94.69% +0.02%
==========================================
Files 14 14
Lines 244 245 +1
Branches 48 47 -1
==========================================
+ Hits 231 232 +1
Misses 13 13
|
4b84ecc to
ed486d8
Compare
|
Not sure why the build isn't passing. Not getting any git diffs when running the build locally (node 12) Edit: This has now been resolved. |
|
Yea we'll have to verify this for:
I had used exactly that command before, but from what I remember it didn't work for all cases. Either i changed something somewhere else and this now works, or this will indeed not work for all above cases. I will help out with this when I get some time to put in. |
|
hey @webbertakken, I have #106 and #101 chained on this PR. What do you think about creating an The other 2 PRs will be ready for review once I can remove the "fix fork PR builds" commit. |
|
Hey @benoitdion I think it's a good option but I'd rather keep fast forwarding as much as possible to keep forward momentum. All we have to do for this PR is properly test a build for each mentioned scenario using I didn't get to this yet, because I need a moment where I can sit down with enough mindspace to also tackle it if it doesn't work, which i suspect it will for the cases of detached head, where my previously implemented attempt to reattach head may not always be sufficient. I estimate that 2 out of 4 use cases will not work like this. And since we chose for an approach that is supposed to make this uniform for all use cases (which i'm very happy about), we do need to test these properly. |
I can make sure the git history in the PR is clean so it's not an issue. I'd love to keep the momentum going on the android related PRs.
That's great, I didn't realize that worked out of the box. |
Remove hardcoded reference to the `origin` remote and instead implictly use the current commit or ref
|
@webbertakken also for this PR, switched approach slightly to use the git commit sha provided by the github action context. I ran into issues with |
Awesome, that might have been exactly what I've been doing wrong all this time. |
|
Test results:
Not tested
The tag part has to be tested before creating a new release still. For now i'm merging this to master. Awesome work @benoitdion |
Remove hardcoded reference to the
originremote and instead use the commit sha provided by the github action context.Taking some of the learnings from #101 and applying them in separate PR's