From a5243e1241c28be052e6a856e615424cdea02cd3 Mon Sep 17 00:00:00 2001 From: Wasim Akram <55689108+wasimness@users.noreply.github.com> Date: Thu, 12 Nov 2026 19:40:43 +0530 Subject: [PATCH] fix(ci): extract the full review scripts folder for the release validation Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23388ab..891e5e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,10 +91,10 @@ jobs: rm -rf dev evals .github .claude IMPROVEMENTS.md .public-safety-allow assets/icon.svg - name: Validate the shipped tree for the directory (blocking) run: | - git show HEAD:dev/aiaddon-review/scripts/validate_extension.py > "$RUNNER_TEMP/validate_extension.py" - git show HEAD:dev/aiaddon-review/scripts/scan_secrets.py > "$RUNNER_TEMP/scan_secrets.py" - python "$RUNNER_TEMP/validate_extension.py" . --strict --target directory --require-meta author,company - python "$RUNNER_TEMP/scan_secrets.py" . + # 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" + 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 env: GIT_AUTHOR_NAME: github-actions[bot]