This is an automated email from the ASF dual-hosted git repository.
HackedRico pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/caldera.git
The following commit(s) were added to refs/heads/master by this push:
new 614db0e3 ci: add Dependabot configuration (#3434)
614db0e3 is described below
commit 614db0e355efef8bc6101251f0807e75a4df3e5d
Author: deacon-mp <[email protected]>
AuthorDate: Tue Dec 1 11:51:29 2026 -0500
ci: add Dependabot configuration (#3434)
* ci: add Dependabot configuration
The ASF GitHub Actions policy requires automatic dependency management
for the github-actions ecosystem. This adds .github/dependabot.yml with
weekly updates for GitHub Actions and monthly updates for pip, npm and
the Dockerfile base image.
Updates are grouped per ecosystem, and security updates are grouped too
(applies-to: security-updates), so a burst of advisories opens one pull
request per ecosystem instead of one per dependency, as the ASF
Dependabot guidance recommends.
* ci: turn on Dependabot security updates in .asf.yaml
Set github.dependabot_updates to true so the security-updates groups in
.github/dependabot.yml take effect. dependabot_alerts stays on. The
github settings in .asf.yaml are applied from the default branch, so the
switch happens when this is merged.
* ci: add a 4-day cooldown to each Dependabot ecosystem
A new release is proposed as a version update once it is 4 days old
(the Dependabot default is 3 days). Security updates are not delayed.
For GitHub Actions this gives a new SHA time to be added to the approved
list in apache/infrastructure-actions before the pull request is opened.
* ci: split pip and npm version updates into minor/patch and major groups
One catch-all group per ecosystem put every update into a single pull
request, so one major bump that needs work held back the rest. Minor and
patch updates now share one group and major updates another
(update-types). The security-updates groups are unchanged.
* ci: keep Dependabot from proposing pytest-asyncio 1.x
requirements-dev.txt and tox.ini pin pytest-asyncio to 0.26.0 because
the tests still use the event_loop fixture, which 1.0 removed. Without
an ignore rule Dependabot would propose the bump on every monthly run.
Remove the rule when the tests move to pytest-asyncio 1.x.
* ci: group Docker base image updates
The docker entry had no group, so each base image in the Dockerfile
would get its own pull request. Add a catch-all version-update group,
as the other ecosystems have.
---------
Co-authored-by: Mark Perry <[email protected]>
Co-authored-by: Ricky Chen <[email protected]>
---
.asf.yaml | 2 +-
.github/dependabot.yml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index a7bd5b63..b4b7c4bf 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,7 +47,7 @@ github:
allow_update_branch: true
dependabot_alerts: true
- dependabot_updates: false
+ dependabot_updates: true
# --- OPTIONAL self-serve branch protection (enable once the project agrees
on required checks) ----
protected_branches:
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..0a2ab4ae
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,85 @@
+# cooldown: a new release is proposed as a version update only once it is
+# 4 days old (the Dependabot default is 3 days). Security updates are not
+# delayed. For GitHub Actions this gives a new SHA time to be added to the
+# approved list in apache/infrastructure-actions, which external actions in
+# ASF repositories must be pinned to.
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ cooldown:
+ default-days: 4
+ groups:
+ github-actions:
+ patterns:
+ - "*"
+ github-actions-security:
+ applies-to: security-updates
+ patterns:
+ - "*"
+
+ - package-ecosystem: "pip"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ cooldown:
+ default-days: 4
+ ignore:
+ # The tests still use the event_loop fixture, which pytest-asyncio 1.0
+ # removed, so requirements-dev.txt and tox.ini pin 0.26.0 (see the notes
+ # there; tox.ini sets a review date of 2027-03-31). Remove this entry
+ # when the tests move to pytest-asyncio 1.x.
+ - dependency-name: "pytest-asyncio"
+ versions: [">=1.0"]
+ groups:
+ python-minor-patch:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
+ python-major:
+ patterns:
+ - "*"
+ update-types:
+ - "major"
+ python-security:
+ applies-to: security-updates
+ patterns:
+ - "*"
+
+ - package-ecosystem: "npm"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ cooldown:
+ default-days: 4
+ groups:
+ npm-minor-patch:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
+ npm-major:
+ patterns:
+ - "*"
+ update-types:
+ - "major"
+ npm-security:
+ applies-to: security-updates
+ patterns:
+ - "*"
+
+ - package-ecosystem: "docker"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ cooldown:
+ default-days: 4
+ groups:
+ docker-images:
+ patterns:
+ - "*"