From 0f166a5a6fbdab9e28bfd4e6dc3342d6c2831729 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Wed, 6 May 2026 17:34:29 -0400 Subject: [PATCH] Exclude shoc-frontend-new and shoc-backend from review and audit workflows --- .github/workflows/compliance-audit.yaml | 3 ++- scripts/rollout-review-workflow.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compliance-audit.yaml b/.github/workflows/compliance-audit.yaml index bd47e6b..ba0274d 100644 --- a/.github/workflows/compliance-audit.yaml +++ b/.github/workflows/compliance-audit.yaml @@ -24,10 +24,11 @@ jobs: env: GH_TOKEN: ${{ steps.app-token.outputs.token }} run: | + EXCLUDE="shoc-frontend-new shoc-backend" repos=$(gh repo list Sea-Haven-Industries \ --no-archived \ --json name \ - --jq '[.[].name] | @json' \ + --jq "[.[].name | select(. as \$n | \"$EXCLUDE\" | split(\" \") | index(\$n) | not)] | @json" \ --limit 100) echo "repos=$repos" >> "$GITHUB_OUTPUT" diff --git a/scripts/rollout-review-workflow.sh b/scripts/rollout-review-workflow.sh index b654f73..b939fa3 100755 --- a/scripts/rollout-review-workflow.sh +++ b/scripts/rollout-review-workflow.sh @@ -23,7 +23,7 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} ' -SKIP_REPOS=(".github") +SKIP_REPOS=(".github" "shoc-frontend-new" "shoc-backend") should_skip() { local repo="$1"