Automerge in BitBucket Cloud #25694
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.37.53.1-slim If you're self-hosting Renovate, select which platform you are using.Bitbucket Cloud (bitbucket.org) Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Hello, What you tried so far.My current config looks like this: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ":semanticCommitsDisabled",
"prHourlyLimit": 2,
"prConcurrentLimit": 5,
"bbUseDefaultReviewers": true,
"enabledManagers": ["gradle", "gradle-wrapper"],
"rebaseWhen": "behind-base-branch",
"packageRules": [
{
"description": "Auto merge any non-major update without a PR",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"automergeType": "branch",
"automergeStrategy": "fast-forward",
"automergeSchedule": ["after 6pm and before 6am every weekday", "every weekend"]
},
{
"description": "Don't automerge major updates, create PR for manual review",
"matchUpdateTypes": ["major"],
"automerge": false,
"automergeType": "pr"
}
]
} As you can see, the schedule is set that it runs in the evening and at night, since pushing this config yesterday no commits have been made. (and there are updates for sure) EDIT: Relevant debug logsSelect me to see logs
These are the logs for the branch |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
Hi there, This issue or discussion is missing some logs, making it difficult or impossible to help you. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf you haven't posted any log yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appSelect me to read instructionsIf you use the Renovate app (GitHub):
Finding logs when self-hostingSelect me to read instructionsIf you're running self-hosted, run with Insufficient logsSelect me to read instructionsIf you already gave us a log, and the Renovate team said it's not enough, then follow the instructions from the No logs at all section. Formatting your logsSelect me to read instructionsPlease put your logs in a
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Provide full logs for an example branch |
Beta Was this translation helpful? Give feedback.
newstatus: Merging a pull request requires write access to the destination branch.
Found the error, the Service Account Renovate was using did only have merge rights, but not write rights. Hopefully this evening/night it'll work.
Also it would be nice, if such a permission error would be commented, like in this example, where a check was failing: