[improve][ci] Check ASF action allowlist and warn before expiration (#313)
diff --git a/.github/workflows/ci-pr-validation.yaml b/.github/workflows/ci-pr-validation.yaml
index dfd44d9..d7fcd7a 100644
--- a/.github/workflows/ci-pr-validation.yaml
+++ b/.github/workflows/ci-pr-validation.yaml
@@ -32,6 +32,10 @@
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Check ASF action allowlist
+ uses: apache/infrastructure-actions/allowlist-check@main
+ with:
+ scan-glob: '.github/**/*.y*ml'
- uses: actions/setup-python@v4
with:
python-version: 3.x