From ea60fbf4de1b092624e3952e0ce4054196f2b3bc Mon Sep 17 00:00:00 2001 From: Tyler Boutwell Date: Mon, 18 May 2026 15:25:58 -0700 Subject: [PATCH 1/3] Remove the use of the pre-commit-updates.yml workflow, and add a pre-commit dependabot configuration. --- .github/dependabot.yml | 7 +++++++ .github/workflows/pre-commit-update.yml | 18 ------------------ changes/73.misc.md | 1 + 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/pre-commit-update.yml create mode 100644 changes/73.misc.md diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c35bb42..c0d235b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,10 @@ updates: # Check for updates on the first Sunday of every month, 8PM UTC interval: "cron" cronjob: "0 20 * * sun#1" + - package-ecosystem: "pre-commit" + directory: "/" + schedule: + # Check for updates on Sunday, 8PM UTC + interval: "weekly" + day: "sunday" + time: "20:00" \ No newline at end of file diff --git a/.github/workflows/pre-commit-update.yml b/.github/workflows/pre-commit-update.yml deleted file mode 100644 index 7a86d36..0000000 --- a/.github/workflows/pre-commit-update.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Update pre-commit - -on: - schedule: - - 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: - pre-commit-update: - name: Update pre-commit - uses: beeware/.github/.github/workflows/pre-commit-update.yml@main - secrets: inherit - with: - pre-commit-source: pre-commit - create-changenote: false diff --git a/changes/73.misc.md b/changes/73.misc.md new file mode 100644 index 0000000..d2cca49 --- /dev/null +++ b/changes/73.misc.md @@ -0,0 +1 @@ +Pre-commit is now only a dependabot configuration \ No newline at end of file From e31f974ffaaa307d66e993d748febf073bbeaabf Mon Sep 17 00:00:00 2001 From: Tyler Boutwell Date: Mon, 18 May 2026 15:44:11 -0700 Subject: [PATCH 2/3] Remove the use of the pre-commit-updates.yml workflow, and add a pre-commit dependabot configuration. --- .github/dependabot.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c0d235b..34f088d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,7 +10,6 @@ updates: - package-ecosystem: "pre-commit" directory: "/" schedule: - # Check for updates on Sunday, 8PM UTC - interval: "weekly" - day: "sunday" - time: "20:00" \ No newline at end of file + # Check for updates on the first Sunday of every month, 8PM UTC + interval: "cron" + cronjob: "0 20 * * sun#1" From a8c90d6e60c9e3513929e83236534a2315fc1f65 Mon Sep 17 00:00:00 2001 From: Tyler Boutwell Date: Mon, 18 May 2026 15:46:55 -0700 Subject: [PATCH 3/3] Remove the use of the pre-commit-updates.yml workflow, and add a pre-commit dependabot configuration. --- changes/73.misc.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 changes/73.misc.md diff --git a/changes/73.misc.md b/changes/73.misc.md deleted file mode 100644 index d2cca49..0000000 --- a/changes/73.misc.md +++ /dev/null @@ -1 +0,0 @@ -Pre-commit is now only a dependabot configuration \ No newline at end of file