Skip to content

[Question] Am I using abandonUnwantedPullRequests Correctly #1440

Closed Answered by rhyskoedijk
matthp4 asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer: Yes.

It sounds like you are describing the "Superseded by {new_pull_request_id}" scenario, which Task V1 does not handle correctly unfortunately. Task V2 does handle this better in that it will actually abandon the PR in this scenario, but it currently uses the incorrect reason message "Looks like the dependencies have changed" instead of "superseded"; this will be fixed in the future though.

Technically, this could be fixed in V1, but it would require overriding a chunk of the dependabot-core code, so I have personally avoided it in favor of finishing the implementation of V2, which is much easier to handle this scenario in.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rhyskoedijk
Comment options

Answer selected by mburumaxwell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants