This is an automated email from the ASF dual-hosted git repository.
mimaison pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new a2c0c8b57f7 MINOR: Enable dependabot for github-actions (#21872)
a2c0c8b57f7 is described below
commit a2c0c8b57f7c68fee4b11e0f1c50ab8127246103
Author: Mickael Maison <[email protected]>
AuthorDate: Thu Mar 26 10:11:32 2026 +0100
MINOR: Enable dependabot for github-actions (#21872)
As per https://infra.apache.org/github-actions-policy.html, we have
automatic dependency management for our GitHub Actions.
For the schedule, instead of using `daily` which only runs weekday, I
use the same pattern as in
https://github.com/apache/infrastructure-actions/blob/main/.github/dependabot.yml#L27-L30.
I kept the time as 20:00UTC as we have in kafka-site.
For the cooldown period, I followed the ASF recommendation from
https://github.com/apache/infrastructure-actions/tree/main?tab=readme-ov-file#dependabot-cooldown-period
Reviewers: Chia-Ping Tsai <[email protected]>
---
.github/dependabot.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000000..42b6b791973
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ # 'daily' only runs on weekdays
+ interval: "cron"
+ cronjob: "00 20 * * *"
+ open-pull-requests-limit: 10
+ cooldown:
+ default: 4