From 1940be347b7dd99b4904a7b8e19d4b79cfb71e30 Mon Sep 17 00:00:00 2001 From: Ilya Papou Date: Sat, 22 Aug 2026 21:39:16 -0300 Subject: [PATCH] ci: keep upstream release jobs disabled in fork Signed-off-by: pilprod <51009687+pilprod@users.noreply.github.com> --- .github/workflows/tag.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index a1a0769e0c..62ad46d64d 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -14,6 +14,7 @@ on: # GITHUB_REF = Tag ref of release refs/tags/ jobs: push-images: + if: github.repository == 'kagent-dev/kagent' strategy: matrix: image: @@ -62,6 +63,7 @@ jobs: fi make build-${{ matrix.image }} push-helm-chart: + if: github.repository == 'kagent-dev/kagent' needs: - push-images runs-on: ubuntu-latest @@ -89,6 +91,7 @@ jobs: fi make helm-publish release-python-packages: + if: github.repository == 'kagent-dev/kagent' runs-on: ubuntu-latest permissions: contents: read @@ -137,6 +140,7 @@ jobs: uv publish --token ${{ secrets.PYPI_TOKEN }} release: + if: github.repository == 'kagent-dev/kagent' # Only run release after images and helm chart are pushed # In the future we can take the chart from the helm action, # and build the CLI beforehand.