Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Guard release workflow jobs from upstream failures (#2146)

Julius Marminge29cb917ac4f7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b6110d1bb..eaa838361 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -171,6 +171,7 @@ jobs:
build:
name: Build ${{ matrix.label }}
needs: preflight
+ if: ${{ !failure() && !cancelled() }}
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
strategy:
@@ -353,6 +354,7 @@ jobs:
publish_cli:
name: Publish CLI to npm
needs: [preflight, build]
+ if: ${{ !failure() && !cancelled() }}
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
steps:
@@ -387,6 +389,7 @@ jobs:
release:
name: Publish GitHub Release
needs: [preflight, build, publish_cli]
+ if: ${{ !failure() && !cancelled() }}
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
steps:
@@ -496,7 +499,7 @@ jobs:
finalize:
name: Finalize release
- if: needs.preflight.outputs.release_channel == 'stable'
+ if: ${{ !failure() && !cancelled() && needs.preflight.outputs.release_channel == 'stable' }}
needs: [preflight, release]
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10