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(onboarding): merge onboardingBranch into baseBranch #20893

Merged

Conversation

RahulGautamSingh
Copy link
Collaborator

@RahulGautamSingh RahulGautamSingh commented Mar 13, 2023

Changes

  • Merge onboardingBranch into baseBranch and perform extraction on the baseBranch
  • When branch is conflicted add a comment is added to the PR instead of updating the PR body
  • Remove dcode that automatically rebases onboardingBranch (not necessary since we merge with base branch on each run)

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

@RahulGautamSingh RahulGautamSingh changed the title feat(onboarding): use onboarding as base for pr-body preview feat(onboarding): merge onboardingBranch into baseBranch Mar 13, 2023
@RahulGautamSingh RahulGautamSingh marked this pull request as ready for review March 13, 2023 21:26
@RahulGautamSingh RahulGautamSingh requested review from rarkins and viceice and removed request for rarkins March 13, 2023 21:26
lib/util/git/index.ts Outdated Show resolved Hide resolved
lib/util/git/index.ts Outdated Show resolved Hide resolved
lib/util/git/index.spec.ts Outdated Show resolved Hide resolved
lib/workers/repository/onboarding/branch/index.ts Outdated Show resolved Hide resolved
lib/workers/repository/onboarding/branch/index.ts Outdated Show resolved Hide resolved
lib/workers/repository/onboarding/branch/index.ts Outdated Show resolved Hide resolved
lib/workers/repository/onboarding/branch/index.ts Outdated Show resolved Hide resolved
lib/workers/repository/onboarding/pr/index.ts Outdated Show resolved Hide resolved
zharinov
zharinov previously approved these changes May 10, 2023
@viceice
Copy link
Member

viceice commented May 12, 2023

We clone fresh each run though?

👉 https://docs.renovatebot.com/self-hosted-configuration/#persistrepodata

@rarkins
Copy link
Collaborator

rarkins commented May 12, 2023

We also reset the base branch sha's

Copy link
Collaborator

@rarkins rarkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs refactoring for the scm.getFileList() change

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a small thing

lib/workers/repository/onboarding/branch/index.ts Outdated Show resolved Hide resolved
@rarkins rarkins enabled auto-merge May 18, 2023 05:56
@rarkins rarkins requested review from viceice and zharinov May 18, 2023 05:56
@rarkins rarkins added this pull request to the merge queue May 18, 2023
@rarkins rarkins requested a review from HonkingGoose May 18, 2023 05:56
Merged via the queue into renovatebot:main with commit ffeb784 May 18, 2023
11 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 35.94.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 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.

Preview changes to other files in onboarding branches
7 participants