You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/04/13 07:30:16 UTC
(ofbiz-framework) branch trunk updated: Add ASF allowlist check workflow
This is an automated email from the ASF dual-hosted git repository.
jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new b32ee11ed9 Add ASF allowlist check workflow
b32ee11ed9 is described below
commit b32ee11ed9ffdd6a6c60e39fe46485e2764c6ed3
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Mon Apr 13 09:16:39 2026 +0200
Add ASF allowlist check workflow
Adds a CI workflow that verifies all `uses: refs` in workflow files are on the ASF allowlist using apache/infrastructure-actions/allowlist-check.
This new workflow triggers on PRs and pushes to main that modify .github/**
Intentionally pinned to @main to always check against the latest allowlist
---
.github/workflows/asf-allowlist-check.yml | 44 +++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/.github/workflows/asf-allowlist-check.yml b/.github/workflows/asf-allowlist-check.yml
new file mode 100644
index 0000000000..1e1a577a7a
--- /dev/null
+++ b/.github/workflows/asf-allowlist-check.yml
@@ -0,0 +1,44 @@
+#
+# 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.
+#
+
+# Verifies all GitHub Actions refs are on the ASF allowlist.
+# See https://github.com/apache/infrastructure-actions/blob/main/README.md
+
+name: "ASF Allowlist Check"
+
+on:
+ pull_request:
+ paths:
+ - ".github/**"
+ push:
+ paths:
+ - ".github/**"
+
+permissions:
+ contents: read
+
+jobs:
+ asf-allowlist-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ persist-credentials: false
+ # Intentionally unpinned to always use the latest allowlist from the ASF.
+ - uses: apache/infrastructure-actions/allowlist-check@main
\ No newline at end of file