diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d645187..a08e426 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,19 @@ version: 2 + +multi-ecosystem-groups: + dependencies: + schedule: + # Check for updates on the first Sunday of every month, 8PM UTC + interval: "cron" + cronjob: "0 20 * * sun#1" + updates: - package-ecosystem: "github-actions" directory: "/" - schedule: - # Check for updates on Sunday, 8PM UTC - interval: "weekly" - day: "sunday" - time: "20:00" + patterns: ["*"] + multi-ecosystem-group: "dependencies" - package-ecosystem: "pip" directory: "/" - schedule: - # Check for updates on Sunday, 8PM UTC - interval: "weekly" - day: "sunday" - time: "20:00" + patterns: ["*"] + multi-ecosystem-group: "dependencies" diff --git a/.github/workflows/pre-commit-update.yml b/.github/workflows/pre-commit-update.yml index fa67536..7a86d36 100644 --- a/.github/workflows/pre-commit-update.yml +++ b/.github/workflows/pre-commit-update.yml @@ -2,7 +2,10 @@ name: Update pre-commit on: schedule: - - cron: "0 20 * * SUN" # Sunday @ 2000 UTC + - cron: "0 20 1-7 * */7" # First Sunday of the month @ 2000 UTC + # Reading this expression: At 20:00 on every day-of-month from 1 through 7 if + # it's on every 7th day-of-week, i.e. any one of the first seven days of the + # month as long as it is a Sunday. workflow_dispatch: jobs: @@ -11,5 +14,5 @@ jobs: uses: beeware/.github/.github/workflows/pre-commit-update.yml@main secrets: inherit with: - pre-commit-source: "pre-commit" + pre-commit-source: pre-commit create-changenote: false