renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead
https://github.com/renovatebot/renovate/discussions
MIT License
27 stars 16 forks source link

Help on closing immortal LockFileMaintenance PR #952

Closed mohan78 closed 4 years ago

mohan78 commented 4 years ago

Which Renovate are you using?

Renovate Pro

Other (please write below)

Which platform are you using?

GitHub Enterprise

What would you like to do?

Issue: We have enabled renovate on our app and it has generated LockFileMaintenance along with some major releases. For testing purpose, I have created a separate branch other than default one and merged these renovate PRs into that. But the problem is LockFileMaintenance PR is generating again. Is there any way to close it despite of being immortal?

rarkins commented 4 years ago

If you want to merge Renovate PRs into a non-default branch then configure Renovate that way instead of re-targetting PRs.

e.g. "baseBranches": ["dev"]

(but make sure that your renovate.json remains in the default branch)

lockFileMaintenance branches will only be created when they are within schedule, which defaults to Monday mornings. Assuming you didn't change the schedule to any time, it sounds like you forgot to delete the source branch after merging it. Delete the source branch after merge to prevent the branch being reused for a new PR.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs. If this question is not done (either you plan to update it or are waiting on someone to respond) then please add a comment here to bump it and/or get the other person's attention. We aim to do our best to solve every problem. This bot is here to help us clean up issues which are no longer of use to the original poster, and not to close anything prematurely, so bump as you need!