Skip to content

Commit 179733e

Browse files
authored
Schedule pre-commit autoupdate for the first Sunday of every month. (#28)
1 parent 786ec44 commit 179733e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.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#1" # First Sunday of the month @ 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)