From 30416a09018c877c9fe0ae36311109f5f7bf804b Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Thu, 12 Nov 2026 19:46:56 +0530 Subject: [PATCH] fix(ci): use the maintainer allowlist while validating the release tree (not shipped) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 891e5e6..f824c35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,6 +93,10 @@ jobs: run: | # The validator imports its neighbours (route check, public safety, screen), so extract the whole folder. git archive HEAD dev/aiaddon-review/scripts | tar -x -C "$RUNNER_TEMP" + # The maintainer allowlist (public support address) is needed to validate but is never shipped: + # it is restored in the working tree only, the index (what gets pushed) stays without it. + git show HEAD:.public-safety-allow > .public-safety-allow + trap 'rm -f .public-safety-allow' EXIT python "$RUNNER_TEMP/dev/aiaddon-review/scripts/validate_extension.py" . --strict --target directory --require-meta author,company python "$RUNNER_TEMP/dev/aiaddon-review/scripts/scan_secrets.py" . - name: Push the release branch