This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-site.git
The following commit(s) were added to refs/heads/master by this push:
new 988ff520cd HDDS-15719. Add check for allowed action usage in workflows
(#485)
988ff520cd is described below
commit 988ff520cd2cfdabda2f5786ac33cc6d6e21d4e6
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Jul 4 20:25:01 2026 +0200
HDDS-15719. Add check for allowed action usage in workflows (#485)
---
.github/workflows/asf-allowlist-check.yaml | 50 ++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/.github/workflows/asf-allowlist-check.yaml
b/.github/workflows/asf-allowlist-check.yaml
new file mode 100644
index 0000000000..8d27695b5d
--- /dev/null
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -0,0 +1,50 @@
+# 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:
+ pull_request:
+ paths:
+ - .github/workflows/**
+ push:
+ branches-ignore:
+ - automated-config-doc-update
+ - dependabot/**
+ paths:
+ - .github/workflows/**
+
+permissions:
+ contents: read
+
+concurrency:
+ group: >
+ ${{ github.workflow }}-
+ ${{ github.event.pull_request.number || case(github.repository_owner ==
'apache', github.sha, github.ref_name) }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' ||
github.repository_owner != 'apache' }}
+
+jobs:
+ asf-allowlist-check:
+ runs-on: ubuntu-slim
+ steps:
+ - name: Checkout project
+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+ with:
+ persist-credentials: false
+ - name: Check actions
+ uses:
apache/infrastructure-actions/allowlist-check@775350a154e610e84c460cb1bbe2d2ab26c15cb3
+ with:
+ scan-glob: .github/workflows/*.y*ml
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]