|
| 1 | +version: 2 |
| 2 | +updates: |
| 3 | + - package-ecosystem: "github-actions" |
| 4 | + directory: "/" |
| 5 | + schedule: |
| 6 | + interval: "weekly" |
| 7 | + day: "friday" |
| 8 | + open-pull-requests-limit: 2 # <- default is 5 |
| 9 | + groups: # <- group all github actions updates in a single PR |
| 10 | + # 1. development-dependencies are auto-merged |
| 11 | + development-dependencies: |
| 12 | + dependency-type: development |
| 13 | + patterns: |
| 14 | + - '*' |
| 15 | + |
| 16 | + - package-ecosystem: "gomod" |
| 17 | + # We define 4 groups of dependencies to regroup update pull requests: |
| 18 | + # - development (e.g. test dependencies) |
| 19 | + # - go-openapi updates |
| 20 | + # - golang.org (e.g. golang.org/x/... packages) |
| 21 | + # - other dependencies (direct or indirect) |
| 22 | + # |
| 23 | + # * All groups are checked once a week and each produce at most 1 PR. |
| 24 | + # * All dependabot PRs are auto-approved |
| 25 | + # |
| 26 | + # Auto-merging policy, when requirements are met: |
| 27 | + # 1. development-dependencies are auto-merged |
| 28 | + # 2. golang.org-dependencies are auto-merged |
| 29 | + # 3. go-openapi patch updates are auto-merged. Minor/major version updates require a manual merge. |
| 30 | + # 4. other dependencies require a manual merge |
| 31 | + directory: "/" |
| 32 | + schedule: |
| 33 | + interval: "weekly" |
| 34 | + day: "friday" |
| 35 | + open-pull-requests-limit: 4 |
| 36 | + groups: |
| 37 | + development-dependencies: |
| 38 | + dependency-type: development |
| 39 | + patterns: |
| 40 | + - "github.com/stretchr/testify" |
| 41 | + |
| 42 | + golang.org-dependencies: |
| 43 | + dependency-type: production |
| 44 | + patterns: |
| 45 | + - "golang.org/*" |
| 46 | + |
| 47 | + go-openapi-dependencies: |
| 48 | + dependency-type: production |
| 49 | + patterns: |
| 50 | + - "github.com/go-openapi/*" |
| 51 | + |
| 52 | + other-dependencies: |
| 53 | + dependency-type: production |
| 54 | + exclude-patterns: |
| 55 | + - "github.com/go-openapi/*" |
| 56 | + - "github.com/stretchr/testify" |
| 57 | + - "golang.org/*" |
0 commit comments