Skip to content

Commit f85a6f3

Browse files
authored
Update pre-commit-update.yml cron timing (#79)
1 parent f363beb commit f85a6f3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.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)