mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 07:03:11 +00:00
Exclude shoc-frontend-new and shoc-backend from review and audit workflows
This commit is contained in:
parent
e24004415e
commit
0f166a5a6f
2 changed files with 3 additions and 2 deletions
3
.github/workflows/compliance-audit.yaml
vendored
3
.github/workflows/compliance-audit.yaml
vendored
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue