ci(version-bump): remove branch rename and reinstall dependencies after existing branch checkout #6043
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I just made a Pull Request!
Another followup on #5899 to address this error in running the new version bump workflow on a workspace with an existing version bump PR.
I think the
workspace yarn installstep can run after theCreate or checkout workspace branch, as its just the root dependencies that need to be installed to run the steps between this and the setup. For simplicity sake while this new workflow is still being tested, though, I thought it best to leave the order as is and re-run it for this single use case. Once this is confirmed to work I think it'll would be good to clean this file up and extract a couple of the longer steps into their own JavaScript files.Additionally, I discovered that when you rename a branch, GitHub closes all pull requests from that branch, which obviously is not desired behaviour. This PR also removes that change from the workflow.
✔️ Checklist
Signed-off-byline in the message. (more info)