Skip to content

Commit 02d4252

Browse files
authored
Dependabot config and cron update, pre-commit-update cron update (#161)
1 parent db32e11 commit 02d4252

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
version: 2
2+
3+
multi-ecosystem-groups:
4+
dependencies:
5+
schedule:
6+
# Check for updates on the first Sunday of every month, 8PM UTC
7+
interval: "cron"
8+
cronjob: "0 20 * * sun#1"
9+
210
updates:
311
- package-ecosystem: "github-actions"
412
directory: "/"
5-
schedule:
6-
# Check for updates on Sunday, 8PM UTC
7-
interval: "weekly"
8-
day: "sunday"
9-
time: "20:00"
13+
patterns: ["*"]
14+
multi-ecosystem-group: "dependencies"
1015

1116
- package-ecosystem: "pip"
1217
directory: "/"
13-
schedule:
14-
# Check for updates on Sunday, 8PM UTC
15-
interval: "weekly"
16-
day: "sunday"
17-
time: "20:00"
18+
patterns: ["*"]
19+
multi-ecosystem-group: "dependencies"

.github/workflows/pre-commit-update.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: Update pre-commit
22

33
on:
44
schedule:
5-
- cron: "0 20 * * SUN" # Sunday @ 2000 UTC
5+
- cron: "0 20 1-7 * */7" # First Sunday of the month @ 2000 UTC
6+
# Reading this expression: At 20:00 on every day-of-month from 1 through 7 if
7+
# it's on every 7th day-of-week, i.e. any one of the first seven days of the
8+
# month as long as it is a Sunday.
69
workflow_dispatch:
710

811
jobs:
@@ -11,5 +14,5 @@ jobs:
1114
uses: beeware/.github/.github/workflows/pre-commit-update.yml@main
1215
secrets: inherit
1316
with:
14-
pre-commit-source: "pre-commit"
17+
pre-commit-source: pre-commit
1518
create-changenote: false

0 commit comments

Comments
 (0)