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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renovate a bit too eager to close PRs #7786

Closed
k4y4k opened this issue Nov 23, 2020 · 3 comments
Closed

Renovate a bit too eager to close PRs #7786

k4y4k opened this issue Nov 23, 2020 · 3 comments
Assignees
Labels
priority-2-high Bugs impacting wide number of users or very important features type:bug Bug fix of existing functionality

Comments

@k4y4k
Copy link

k4y4k commented Nov 23, 2020

Which Renovate are you using?

WhiteSource Renovate App

Which platform are you using?

GitHub.com

What would you like to do?

Howdy 馃憢

I (want to) use bors-ng to merge my Renovate PRs. In the beginning I could - Renovate left a comment triggering a merge as soon as my tests passed, and didn't if there was an issue. This was great.

Then I added a schedule (before 0300 Monday [Australia/Brisbane]). As far as I can tell, this is when my issues started.

Renovate now leaves a merge comment and immediately closes the PR. This then generates the "we'll ignore this" message and makes my repos' PR history (and notifications) really ugly, littering them with misleading "PR Closed" statuses. Bors still merges updates, but it's super messy and just overall feels jank.

This has been bugging me for a while. I've finally (finally!) decided to do something about it. Any ideas? Did I put the schedule in the wrong place?

Config [renovate.json]

{
  "extends": ["config:base"],
  "dependencyDashboard": true,
  "packageRules": [
    {
      "updateTypes": ["minor", "patch", "pin", "digest"],
      "automerge": true,
      "automergeType": "pr-comment",
      "automergeComment": "bors: r+"
    }
  ],
  "schedule": ["before 3am on Monday"],
  "timezone": "Australia/Brisbane"
}

Logs here (Gist)

@rarkins
Copy link
Collaborator

rarkins commented Nov 23, 2020

This seems like a bug in our "delete automerged pull requests" feature. We shouldn't do it when merging with a comment

@rarkins rarkins transferred this issue from renovatebot/config-help Nov 23, 2020
@rarkins rarkins added priority-2-high Bugs impacting wide number of users or very important features type:bug Bug fix of existing functionality labels Nov 23, 2020
@rarkins rarkins self-assigned this Nov 23, 2020
@k4y4k
Copy link
Author

k4y4k commented Nov 23, 2020

馃憣 epic and cool, thank you

@renovate-release
Copy link
Collaborator

馃帀 This issue has been resolved in version 23.84.12 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority-2-high Bugs impacting wide number of users or very important features type:bug Bug fix of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants