|
| 1 | +# Enable Dependabot NPM updates for all dependencies on a weekly basis |
| 2 | +version: 2 |
| 3 | +updates: |
| 4 | + ############### |
| 5 | + ## Main branch |
| 6 | + ############### |
| 7 | + - package-ecosystem: "npm" |
| 8 | + directory: "/" |
| 9 | + target-branch: main |
| 10 | + schedule: |
| 11 | + interval: "weekly" |
| 12 | + # Allow up to 10 open PRs for dependencies |
| 13 | + open-pull-requests-limit: 10 |
| 14 | + # Group together Angular package upgrades |
| 15 | + groups: |
| 16 | + # Group together all minor/patch version updates for Angular in a single PR |
| 17 | + angular: |
| 18 | + applies-to: version-updates |
| 19 | + patterns: |
| 20 | + - "@angular*" |
| 21 | + update-types: |
| 22 | + - "minor" |
| 23 | + - "patch" |
| 24 | + # Group together all security updates for Angular. Only accept minor/patch types. |
| 25 | + angular-security: |
| 26 | + applies-to: security-updates |
| 27 | + patterns: |
| 28 | + - "@angular*" |
| 29 | + update-types: |
| 30 | + - "minor" |
| 31 | + - "patch" |
| 32 | + # Group together all minor/patch version updates for NgRx in a single PR |
| 33 | + ngrx: |
| 34 | + applies-to: version-updates |
| 35 | + patterns: |
| 36 | + - "@ngrx*" |
| 37 | + update-types: |
| 38 | + - "minor" |
| 39 | + - "patch" |
| 40 | + # Group together all security updates for NgRx. Only accept minor/patch types. |
| 41 | + ngrx-security: |
| 42 | + applies-to: security-updates |
| 43 | + patterns: |
| 44 | + - "@ngrx*" |
| 45 | + update-types: |
| 46 | + - "minor" |
| 47 | + - "patch" |
| 48 | + ignore: |
| 49 | + # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. |
| 50 | + - dependency-name: "*" |
| 51 | + update-types: ["version-update:semver-major"] |
| 52 | + ##################### |
| 53 | + ## dspace-8_x branch |
| 54 | + ##################### |
| 55 | + - package-ecosystem: "npm" |
| 56 | + directory: "/" |
| 57 | + target-branch: dspace-8_x |
| 58 | + schedule: |
| 59 | + interval: "weekly" |
| 60 | + # Allow up to 10 open PRs for dependencies |
| 61 | + open-pull-requests-limit: 10 |
| 62 | + # Group together Angular package upgrades |
| 63 | + groups: |
| 64 | + # Group together all patch version updates for Angular in a single PR |
| 65 | + angular: |
| 66 | + applies-to: version-updates |
| 67 | + patterns: |
| 68 | + - "@angular*" |
| 69 | + update-types: |
| 70 | + - "minor" |
| 71 | + - "patch" |
| 72 | + # Group together all security updates for Angular. Only accept minor/patch types. |
| 73 | + angular-security: |
| 74 | + applies-to: security-updates |
| 75 | + patterns: |
| 76 | + - "@angular*" |
| 77 | + update-types: |
| 78 | + - "minor" |
| 79 | + - "patch" |
| 80 | + # Group together all minor/patch version updates for NgRx in a single PR |
| 81 | + ngrx: |
| 82 | + applies-to: version-updates |
| 83 | + patterns: |
| 84 | + - "@ngrx*" |
| 85 | + update-types: |
| 86 | + - "minor" |
| 87 | + - "patch" |
| 88 | + # Group together all security updates for NgRx. Only accept minor/patch types. |
| 89 | + ngrx-security: |
| 90 | + applies-to: security-updates |
| 91 | + patterns: |
| 92 | + - "@ngrx*" |
| 93 | + update-types: |
| 94 | + - "minor" |
| 95 | + - "patch" |
| 96 | + ignore: |
| 97 | + # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. |
| 98 | + - dependency-name: "*" |
| 99 | + update-types: ["version-update:semver-major"] |
| 100 | + ##################### |
| 101 | + ## dspace-7_x branch |
| 102 | + ##################### |
| 103 | + - package-ecosystem: "npm" |
| 104 | + directory: "/" |
| 105 | + target-branch: dspace-7_x |
| 106 | + schedule: |
| 107 | + interval: "weekly" |
| 108 | + # Allow up to 10 open PRs for dependencies |
| 109 | + open-pull-requests-limit: 10 |
| 110 | + # Group together Angular package upgrades |
| 111 | + groups: |
| 112 | + # Group together all minor/patch version updates for Angular in a single PR |
| 113 | + angular: |
| 114 | + applies-to: version-updates |
| 115 | + patterns: |
| 116 | + - "@angular*" |
| 117 | + update-types: |
| 118 | + - "minor" |
| 119 | + - "patch" |
| 120 | + # Group together all security updates for Angular. Only accept minor/patch types. |
| 121 | + angular-security: |
| 122 | + applies-to: security-updates |
| 123 | + patterns: |
| 124 | + - "@angular*" |
| 125 | + update-types: |
| 126 | + - "minor" |
| 127 | + - "patch" |
| 128 | + # Group together all minor/patch version updates for NgRx in a single PR |
| 129 | + ngrx: |
| 130 | + applies-to: version-updates |
| 131 | + patterns: |
| 132 | + - "@ngrx*" |
| 133 | + update-types: |
| 134 | + - "minor" |
| 135 | + - "patch" |
| 136 | + # Group together all security updates for NgRx. Only accept minor/patch types. |
| 137 | + ngrx-security: |
| 138 | + applies-to: security-updates |
| 139 | + patterns: |
| 140 | + - "@ngrx*" |
| 141 | + update-types: |
| 142 | + - "minor" |
| 143 | + - "patch" |
| 144 | + ignore: |
| 145 | + # Ignore all major version updates for all dependencies. We'll only automate minor/patch updates. |
| 146 | + - dependency-name: "*" |
| 147 | + update-types: ["version-update:semver-major"] |
0 commit comments