Skip to content

Commit 6e1353c

Browse files
authored
Dependabot config and cron update, pre-commit-update cron update (#102)
1 parent 280eb27 commit 6e1353c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
# Check for updates on Sunday, 8PM UTC
8-
interval: "weekly"
9-
day: "sunday"
10-
time: "20:00"
7+
# Check for updates on the first Sunday of every month, 8PM UTC
8+
interval: "cron"
9+
cronjob: "0 20 * * sun#1"

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

Lines changed: 4 additions & 1 deletion
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:

0 commit comments

Comments
 (0)