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

fix(platform/github): detect pr-edited if target changed #21026

Merged
merged 5 commits into from
Mar 19, 2023

Conversation

RahulGautamSingh
Copy link
Collaborator

Changes

  • Add targetBranch to the list of returned fields after the PR info is coerced

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 marked this pull request as ready for review March 18, 2023 11:51
@RahulGautamSingh RahulGautamSingh marked this pull request as draft March 18, 2023 14:43
rarkins
rarkins previously approved these changes Mar 18, 2023
@RahulGautamSingh RahulGautamSingh marked this pull request as ready for review March 19, 2023 15:41
viceice
viceice previously approved these changes Mar 19, 2023
@viceice viceice added this pull request to the merge queue Mar 19, 2023
The baseBranch was being updated from config instead of the targetBranch being updated in PR info ie. opposite if what we want to test for.
@RahulGautamSingh
Copy link
Collaborator Author

@viceice Sorry I had to make a change to the test. The test was working but it was testing a different case than intended.

@viceice viceice merged commit 33cd233 into renovatebot:main Mar 19, 2023
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 35.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

platform(github): unable to detect edited pr target branch
4 participants