From 390d2ee774149ee527eb2fa68d40d0d25d8f8bcd Mon Sep 17 00:00:00 2001 From: mcocdaa <2021137961@qq.com> Date: Mon, 28 Sep 2026 09:53:24 +0200 Subject: [PATCH] ci: switch dependabot and pre-commit autoupdate schedule to monthly --- .github/dependabot.yml | 4 ++-- .github/workflows/pre-commit-autoupdate.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0b40867..10f064b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" open-pull-requests-limit: 10 commit-message: prefix: "ci" @@ -12,7 +12,7 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "weekly" + interval: "monthly" open-pull-requests-limit: 10 commit-message: prefix: "chore" diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 4a17e49..23605f6 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -2,8 +2,8 @@ name: Pre-commit Auto Update on: schedule: - # Run every Monday at 00:00 UTC - - cron: "0 0 * * 1" + # Run on the 1st of every month at 00:00 UTC + - cron: "0 0 1 * *" workflow_dispatch: permissions: @@ -34,6 +34,6 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} commit-message: "chore(deps): autoupdate pre-commit hooks" title: "chore(deps): autoupdate pre-commit hooks" - body: "Automated weekly update of `.pre-commit-config.yaml` hooks." + body: "Automated monthly update of `.pre-commit-config.yaml` hooks." branch: "chore/pre-commit-autoupdate" delete-branch: true