-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore(renovate): enable auto merge #5322
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
"extends": [ | ||
"config:base" | ||
], | ||
"branchName": "{{{baseBranch}}}-{{{branchTopic}}}", | ||
"rebaseWhen": "behind-base-branch", | ||
"branchName": "{{{baseBranch}}}-renovate-{{{branchTopic}}}", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"addLabels": [ | ||
"dependencies" | ||
], | ||
|
@@ -22,7 +23,7 @@ | |
"enabled": false | ||
}, | ||
"lockFileMaintenance": { | ||
//"automerge": true // auto-merge will be activated in a second step | ||
"automerge": true | ||
"enabled": true, | ||
"addLabels": [ | ||
"automerge", | ||
|
@@ -57,7 +58,7 @@ | |
"enabled": false | ||
}, | ||
{ | ||
//"automerge": true // auto-merge will be activated in a second step | ||
"automerge": true | ||
"matchUpdateTypes": [ | ||
"patch" | ||
], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mistakenly already committed this to master without review :( |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,14 @@ on: | |
types: [ opened, synchronize, reopened ] | ||
jobs: | ||
all-checks-passed: | ||
if: contains(github.event.pull_request.labels.*.name, 'automerge') && github.actor == 'renovate[bot]' | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'automerge') && github.actor == 'renovate[bot]'}} | ||
name: All checks passed | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: read | ||
contents: read | ||
environment: delayenv | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Run will be delayed for 180 minutes. I don't know if this is enough to run our whole CI. However, we can tweak this. |
||
steps: | ||
- uses: wechuli/allcheckspassed@v1.2.0 | ||
- uses: wechuli/allcheckspassed@v1 | ||
with: | ||
poll: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs should be rebased when behind base branch.