Skip to content

Apache Lucene open-source search software

ci: improve actions checks (#16808)

Robert Muir9f3e5f4439d1
diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml
index ff1d1b9d185..20832e91a6a 100644
--- a/.github/workflows/actions.yml
+++ b/.github/workflows/actions.yml
@@ -5,6 +5,13 @@ on:
workflow_dispatch:
schedule:
- cron: '22 2 * * *'
+ pull_request:
+ paths:
+ - ".github/**"
+ push:
+ branches: [ main ]
+ paths:
+ - ".github/**"
permissions: {}
@@ -46,3 +53,18 @@ jobs:
with:
sarif_file: results.sarif
category: zizmor
+
+ allowlist:
+ name: ASF Allowlist Check
+ runs-on: ubuntu-26.04-arm
+ timeout-minutes: 15
+ permissions:
+ contents: read
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
+
+ - name: Check Actions Allowlist
+ uses: apache/infrastructure-actions/allowlist-check@47b297bbe90f580139129bee531bd84bd95b7f5d # allowlist-check/v1.0.4