From edcddb3e705dd11c9f41c94bc20bea85afa036c8 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Sat, 1 Aug 2026 16:13:38 +0200 Subject: [PATCH] Group Dependabot version updates into a single weekly PR per ecosystem Backports IntelPython/dpnp#2983 (conda/pip parts excluded as mkl-service has no environments/ directory). Adds a "groups" block with patterns ["*"] to the github-actions ecosystem so all bumps land in one weekly PR, and applies the "autoupdate" label. Also adds a pre-commit Dependabot ecosystem entry (grouped, labeled) and deletes the now-redundant .github/workflows/pre-commit-autoupdate.yml, whose flow is now handled by Dependabot. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 15 +++++++ .github/workflows/pre-commit-autoupdate.yml | 49 --------------------- 2 files changed, 15 insertions(+), 49 deletions(-) delete mode 100644 .github/workflows/pre-commit-autoupdate.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7863596..b840d80 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,3 +6,18 @@ updates: interval: "weekly" day: "saturday" rebase-strategy: "disabled" + labels: ["autoupdate"] + groups: + github-actions: + patterns: ["*"] + + - package-ecosystem: "pre-commit" + directory: "/" + schedule: + interval: "weekly" + day: "saturday" + rebase-strategy: "disabled" + labels: ["autoupdate"] + groups: + pre-commit: + patterns: ["*"] diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml deleted file mode 100644 index 911090b..0000000 --- a/.github/workflows/pre-commit-autoupdate.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Autoupdate pre-commit - -on: - workflow_dispatch: - # To guarantee Maintained check is occasionally updated. See - # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained - schedule: - - cron: '28 2 * * 6' # Saturday at 02:28 UTC - -permissions: read-all - -jobs: - autoupdate: - name: Autoupdate - - runs-on: ubuntu-latest - timeout-minutes: 10 - - permissions: - # Needed to create a PR with autoupdate changes - contents: write - pull-requests: write - - steps: - - name: Checkout mkl-service repo - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - - name: Set up python - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 - with: - python-version: '3.14' - - - name: Install pre-commit - run: pip install pre-commit - - - name: Run pre-commit autoupdate - run: pre-commit autoupdate - - - name: Create a PR with autoupdate changes - uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 - with: - commit-message: 'chore: update pre-commit hooks' - add-paths: .pre-commit-config.yaml - branch: 'bot/pre-commit-autoupdate' - delete-branch: true - title: Weekly pre-commit autoupdate - body: | - This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`. - labels: autoupdate