You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by co...@apache.org on 2026/09/21 10:33:44 UTC

(tsfile-viewer) branch main updated: ci: group dependabot updates and add a cooldown (#44)

This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tsfile-viewer.git


The following commit(s) were added to refs/heads/main by this push:
     new 73cca1f  ci: group dependabot updates and add a cooldown (#44)
73cca1f is described below

commit 73cca1f65980efe803559a429e50b4ff29c774f6
Author: CritasWang <cr...@outlook.com>
AuthorDate: Mon Sep 21 18:33:39 2026 +0800

    ci: group dependabot updates and add a cooldown (#44)
    
    The policy page points at the Dependabot guidance for this, and the current
    configuration already shows the problem it describes: bumping the four pinned
    actions produced four pull requests, each with its own workflow run, and three
    of those runs are the workflow that currently cannot start.
    
    - group the routine version bumps into a single pull request
    - group the security updates as well (applies-to: security-updates), so a burst
      of advisories does not become a burst of CI runs
    - add a 4-day cooldown so a release gets time to settle before it is proposed
    
    Refs https://infra.apache.org/dependabot.html
---
 .github/dependabot.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 9587e54..fda75d6 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -27,7 +27,24 @@ updates:
     directory: "/"
     schedule:
       interval: monthly
+    # Let a release settle before adopting it, see
+    # https://infra.apache.org/dependabot.html.
+    cooldown:
+      default-days: 4
     commit-message:
       prefix: "ci"
     labels:
       - dependencies
+    groups:
+      # One pull request for the routine bumps instead of one per action, so a
+      # batch does not turn into one CI run per action.
+      github-actions:
+        applies-to: version-updates
+        patterns:
+          - "*"
+      # Same for security fixes: one pull request for all outstanding
+      # advisories, as recommended by the policy page.
+      github-actions-security:
+        applies-to: security-updates
+        patterns:
+          - "*"