This is an automated email from the ASF dual-hosted git repository.
kumaab pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ranger-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 54a3e21 Add ASF Allowlist Check workflow (#12)
54a3e21 is described below
commit 54a3e213359002dcf0cd06c22d801f5fc0dfe76a
Author: Abhishek Kumar <[email protected]>
AuthorDate: Fri Aug 7 07:48:48 2026 -0700
Add ASF Allowlist Check workflow (#12)
---
.github/workflows/asf-allowlist-check.yaml | 49 ++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/.github/workflows/asf-allowlist-check.yaml
b/.github/workflows/asf-allowlist-check.yaml
new file mode 100644
index 0000000..1643477
--- /dev/null
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -0,0 +1,49 @@
+# 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:
+ - 'dependabot/**'
+ tags:
+ - '**'
+ 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@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
+ with:
+ persist-credentials: false
+ - name: Check actions
+ uses:
apache/infrastructure-actions/allowlist-check@775350a154e610e84c460cb1bbe2d2ab26c15cb3
+ with:
+ scan-glob: ".github/workflows/*.y*ml"