Exclude shoc-frontend-new and shoc-backend from review and audit workflows

This commit is contained in:
Adam Moussa 2026-05-06 17:34:29 -04:00
parent e24004415e
commit 0f166a5a6f
2 changed files with 3 additions and 2 deletions

View file

@ -24,10 +24,11 @@ jobs:
env: env:
GH_TOKEN: ${{ steps.app-token.outputs.token }} GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: | run: |
EXCLUDE="shoc-frontend-new shoc-backend"
repos=$(gh repo list Sea-Haven-Industries \ repos=$(gh repo list Sea-Haven-Industries \
--no-archived \ --no-archived \
--json name \ --json name \
--jq '[.[].name] | @json' \ --jq "[.[].name | select(. as \$n | \"$EXCLUDE\" | split(\" \") | index(\$n) | not)] | @json" \
--limit 100) --limit 100)
echo "repos=$repos" >> "$GITHUB_OUTPUT" echo "repos=$repos" >> "$GITHUB_OUTPUT"

View file

@ -23,7 +23,7 @@ jobs:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
' '
SKIP_REPOS=(".github") SKIP_REPOS=(".github" "shoc-frontend-new" "shoc-backend")
should_skip() { should_skip() {
local repo="$1" local repo="$1"