-
Notifications
You must be signed in to change notification settings - Fork 65
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
Revert to using stash apply instead of merge #360
Conversation
Codecov Report
@@ Coverage Diff @@
## main #360 +/- ##
=======================================
Coverage 78.60% 78.60%
=======================================
Files 21 21
Lines 2734 2734
Branches 352 352
=======================================
Hits 2149 2149
Misses 467 467
Partials 118 118
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Other issue related to the use of Just tried with a simple extension and while the changelog PR is correctly generated: jupyterlab-contrib/jupyterlab-cell-flash#32 The check release workflow fails with the following: https://github.com/jupyterlab-contrib/jupyterlab-cell-flash/runs/7766995009?check_suite_focus=true
So yeah probably #360 will help with this. Originally posted by @jtpio in jupyterlab/jupyterlab#12932 (comment) |
This should also help fix other failures happening in the |
This patch does fix the changelog generation for JupyterLab: jupyterlab/jupyterlab#12933 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, the git stash was failing when making an automated changelog PR to releaser itself, but we'll have to accept that limitation considering the effect it is having on JupyterLab.
Re-running the failed workflow, the
|
Could it be that it comes from the fetch being done before the stash? |
Okay, this approach is problematic, I'm just going to revert to what we had originally. |
In #358, the logic to create the changelog PR was updated to use
git merge
insteadgit stash
(presumably to be more robust in case of changes are pulled from the upstream branch).In JupyterLab, this results in the bump by lerna of node packages to be committed with the Changelog changes as a commit is done automatically by lerna in the bump version step. The reason is that the merge command on the stash branch is bringing in more than the change stashed.
Failing PR example: jupyterlab/jupyterlab#12932