Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

fix(release): move COMPASS_TOKEN check into shell (secrets not allowed in step if)

Tanner Kocherff5c09ae8cf0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index dbf622cc..f722f4dd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -107,11 +107,14 @@ jobs:
# ── 3b. Build System Compass (optional — needs COMPASS_TOKEN secret) ─
- name: Build System Compass
- if: ${{ secrets.COMPASS_TOKEN != '' }}
continue-on-error: true
env:
COMPASS_TOKEN: ${{ secrets.COMPASS_TOKEN }}
run: |
+ if [ -z "$COMPASS_TOKEN" ]; then
+ echo "COMPASS_TOKEN not set — skipping compass build"
+ exit 0
+ fi
git clone https://x-access-token:${COMPASS_TOKEN}@github.com/ix-infrastructure/system-compass.git
cd system-compass
npm ci --silent