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

git-hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 8f1170972 ci: check GitHub Actions against ASF allowlist (#3612)
8f1170972 is described below

commit 8f117097288490b21994b9c2ab00ddeae7ca85fe
Author: Twice <[email protected]>
AuthorDate: Thu Sep 10 15:50:31 2026 +0800

    ci: check GitHub Actions against ASF allowlist (#3612)
    
    Follows https://github.com/apache/asyncband/pull/178 to add ASF
    allowlist checks for GitHub Actions and configure weekly grouped
    Dependabot updates with a four-day cooldown. Adapts the checks to
    Kvrocks' `unstable` branch and both `.yml` and `.yaml` files.
    
    assisted-by: codex/gpt6
---
 .github/dependabot.yml                     | 36 ++++++++++++++++++++++
 .github/workflows/asf-allowlist-check.yaml | 48 ++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..27079d167
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,36 @@
+# 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:
+      interval: weekly
+    # Give ASF Infrastructure time to approve new action releases first.
+    cooldown:
+      default-days: 4
+    commit-message:
+      prefix: ci
+    groups:
+      github-actions:
+        patterns:
+          - "*"
+      github-actions-security:
+        applies-to: security-updates
+        patterns:
+          - "*"
diff --git a/.github/workflows/asf-allowlist-check.yaml 
b/.github/workflows/asf-allowlist-check.yaml
new file mode 100644
index 000000000..b08540722
--- /dev/null
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -0,0 +1,48 @@
+# 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.
+
+name: ASF Allowlist Check
+
+on:
+  workflow_dispatch:
+  # Detect allowlist removals and expiry warnings even without workflow 
changes.
+  schedule:
+    - cron: "17 3 * * 1"
+  pull_request:
+    paths:
+      - ".github/**"
+  push:
+    branches:
+      - unstable
+    paths:
+      - ".github/**"
+
+permissions:
+  contents: read
+
+jobs:
+  asf-allowlist-check:
+    runs-on: ubuntu-24.04
+    timeout-minutes: 10
+    steps:
+      - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # 
v6.1.0
+        with:
+          persist-credentials: false
+      - uses: 
apache/infrastructure-actions/allowlist-check@61dcea11f19e2bbe1263f14d72235e8da17d3ad0
 # allowlist-check/v1.0.0
+        with:
+          # Cover both .yml and .yaml files.
+          scan-glob: ".github/**/*.y*ml"

Reply via email to