Skip to content

Commit

Permalink
Use renovate to do the missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 29, 2022
1 parent 1a64ac4 commit 24e4665
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ updates:
- package-ecosystem: gradle
directory: '/'
schedule:
interval: daily
interval: monthly
ignore:
- dependency-name: none

- package-ecosystem: pip
directory: '/ci'
schedule:
interval: daily
interval: monthly
ignore:
- dependency-name: none

- package-ecosystem: docker
directory: '/'
schedule:
interval: daily
interval: monthly
ignore:
- dependency-name: none
- package-ecosystem: docker
directory: '/core'
schedule:
interval: daily
interval: monthly
ignore:
- dependency-name: none
33 changes: 33 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
extends: ['config:base', 'schedule:earlyMondays'],
baseBranches: ['master', '3.20', '3.27', '3.28', '3.29'],
packageRules: [
/** Automerge the patch, the minor and the dev dependency */
{
matchBaseBranches: ['master'],
matchUpdateTypes: ['minor', 'patch'],
automerge: true,
},
{
matchDepTypes: ['devDependencies'],
automerge: true,
},
/** Group the patch and the minor */
{
matchUpdateTypes: ['patch'],
groupName: 'all patch versions',
automerge: true,
},
{
matchUpdateTypes: ['minor'],
groupName: 'all minor versions',
automerge: true,
},
/** Accept only the patch on the stabilization branches */
{
branchPrefix: ['3.'],
matchUpdateTypes: ['major', 'minor', 'pin', 'digest', 'lockFileMaintenance', 'rollback', 'bump'],
enabled: false,
},
],
}
18 changes: 7 additions & 11 deletions .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
---
name: Auto merge Dependabot updates
name: Auto reviews updates

on:
workflow_run:
workflows:
- Continuous integration
types:
- completed
on: pull_request

jobs:
auto-merge:
name: Auto merge Dependabot updates
name: Auto reviews updates
runs-on: ubuntu-20.04
timeout-minutes: 5

steps:
- name: Auto merge
uses: ridedott/dependabot-auto-merge-action@master
- name: Auto reviews updates
uses: golfzaptw/action-auto-reviews-from-branches@master
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCHES: master
AUTHOR: dependabot[bot],renovatebot

0 comments on commit 24e4665

Please sign in to comment.