Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

ci(release): skip homebrew-tap publish on forks (#1687)

Alex Fishlockd63e7c1c45bf
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8eaa5959b5..b75c47bfbc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -56,6 +56,12 @@ jobs:
release:
needs: verify
+ # Only run on the canonical upstream repo. Forks don't have the
+ # HOMEBREW_TAP_GITHUB_TOKEN secret and should not be publishing to
+ # `multica-ai/homebrew-tap` anyway. Without this guard, every fork's
+ # tag push fails this job (401 against the upstream tap), which makes
+ # downstream CI go red without affecting the actual artifact pipeline.
+ if: github.repository_owner == 'multica-ai'
runs-on: ubuntu-latest
steps:
- name: Checkout