Skip to content

Commit 465b983

Browse files
authored
Merge pull request DSpace#5173 from tdonohue/update_actions_via_dependabot
[GitHub Actions] Enable updating GitHub action dependencies via dependabot (for dspace-angular)
2 parents e5c2c60 + 801fe1d commit 465b983

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/dependabot.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ updates:
9696
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
9797
- dependency-name: "*"
9898
update-types: ["version-update:semver-major"]
99+
# Also automatically update all our GitHub actions on the main branch
100+
- package-ecosystem: "github-actions"
101+
directory: "/"
102+
# Monthly dependency updates
103+
schedule:
104+
interval: "monthly"
105+
time: "05:00"
106+
# Allow updates to be delayed for a configurable number of days to mitigate
107+
# some classes of supply chain attacks
108+
cooldown:
109+
default-days: 7
99110
#####################
100111
## dspace-9_x branch
101112
#####################
@@ -187,6 +198,18 @@ updates:
187198
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
188199
- dependency-name: "*"
189200
update-types: ["version-update:semver-major"]
201+
# Also automatically update all our GitHub actions on the dspace-9_x branch
202+
- package-ecosystem: "github-actions"
203+
directory: "/"
204+
target-branch: dspace-9_x
205+
# Monthly dependency updates
206+
schedule:
207+
interval: "monthly"
208+
time: "05:00"
209+
# Allow updates to be delayed for a configurable number of days to mitigate
210+
# some classes of supply chain attacks
211+
cooldown:
212+
default-days: 7
190213
#####################
191214
## dspace-8_x branch
192215
#####################
@@ -277,6 +300,18 @@ updates:
277300
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
278301
- dependency-name: "*"
279302
update-types: ["version-update:semver-major"]
303+
# Also automatically update all our GitHub actions on the dspace-8_x branch
304+
- package-ecosystem: "github-actions"
305+
directory: "/"
306+
target-branch: dspace-8_x
307+
# Monthly dependency updates
308+
schedule:
309+
interval: "monthly"
310+
time: "05:00"
311+
# Allow updates to be delayed for a configurable number of days to mitigate
312+
# some classes of supply chain attacks
313+
cooldown:
314+
default-days: 7
280315
#####################
281316
## dspace-7_x branch
282317
#####################
@@ -362,3 +397,15 @@ updates:
362397
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
363398
- dependency-name: "*"
364399
update-types: ["version-update:semver-major"]
400+
# Also automatically update all our GitHub actions on the dspace-7_x branch
401+
- package-ecosystem: "github-actions"
402+
directory: "/"
403+
target-branch: dspace-7_x
404+
# Monthly dependency updates
405+
schedule:
406+
interval: "monthly"
407+
time: "05:00"
408+
# Allow updates to be delayed for a configurable number of days to mitigate
409+
# some classes of supply chain attacks
410+
cooldown:
411+
default-days: 7

0 commit comments

Comments
 (0)