From 96a1aba9e89517fea00c460f237e0a90971dbe91 Mon Sep 17 00:00:00 2001 From: Christopher Patti Date: Tue, 19 May 2026 16:10:25 -0700 Subject: [PATCH] fix: Obsolete pre-commit-update workflow Remove pre-commit-update.yml Add pre-commit ecosystem section to dependabot.yml --- .github/dependabot.yml | 7 +++++++ .github/workflows/pre-commit-update.yml | 18 ------------------ 2 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/pre-commit-update.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a08e426..bebe39f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,3 +17,10 @@ updates: directory: "/" patterns: ["*"] multi-ecosystem-group: "dependencies" + + - package-ecosystem: "pre-commit" + directory: "/" + schedule: + # Check for updates on the first Sunday of every month, 8PM UTC + interval: "cron" + cronjob: "0 20 * * sun#1" 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