Skip to content
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

feat(git): allow commit-and-push to different target branch #19680

Merged
merged 15 commits into from
Jan 24, 2023

Conversation

NiasSt90
Copy link
Contributor

@NiasSt90 NiasSt90 commented Jan 5, 2023

Changes

allow (optionally) to push to different target branch, target defaults to source branch name.

Context

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

lib/util/git/index.ts Outdated Show resolved Hide resolved
lib/util/git/types.ts Outdated Show resolved Hide resolved
@viceice viceice changed the title feat: allow commit-and-push to different target branch feat(git): allow commit-and-push to different target branch Jan 5, 2023
NiasSt90 and others added 2 commits January 5, 2023 14:50
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
- (default)commitFiles function should push to same branch name
- config-migration: use config.defaultBranch instead of config.baseBranch as targetBranch parameter
@rarkins rarkins requested a review from viceice January 13, 2023 14:15
lib/util/git/types.ts Outdated Show resolved Hide resolved
lib/util/git/index.ts Outdated Show resolved Hide resolved
@rarkins rarkins requested a review from viceice January 23, 2023 08:01
@rarkins rarkins enabled auto-merge (squash) January 24, 2023 06:04
@rarkins
Copy link
Collaborator

rarkins commented Jan 24, 2023

Needs to be updated from main branch before it can merge

@rarkins rarkins merged commit 56e9270 into renovatebot:main Jan 24, 2023
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 34.112.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants