The open source coding agent.
TypeScript
ci: prevent beta branch builds from triggering production release steps
Dax Raadeac50f9151be
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 2f305be5c59..46a6577807d 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -114,7 +114,7 @@ jobs:- build-cli- versionruns-on: blacksmith-4vcpu-windows-2025- if: github.repository == 'anomalyco/opencode'+ if: github.repository == 'anomalyco/opencode' && github.ref_name != 'beta'env:AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}@@ -390,6 +390,7 @@ jobs:needs:- build-cli- version+ if: github.repository == 'anomalyco/opencode' && github.ref_name != 'beta'continue-on-error: falseenv:AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}@@ -422,7 +423,6 @@ jobs:target: aarch64-unknown-linux-gnuplatform_flag: --linuxruns-on: ${{ matrix.settings.host }}- # if: github.ref_name == 'beta'steps:- uses: actions/checkout@v3@@ -591,12 +591,13 @@ jobs:path: packages/opencode/dist- uses: actions/download-artifact@v4+ if: github.ref_name != 'beta'with:name: opencode-cli-signed-windowspath: packages/opencode/dist- uses: actions/download-artifact@v4- if: needs.version.outputs.release+ if: needs.version.outputs.release && github.ref_name != 'beta'with:pattern: latest-yml-*path: /tmp/latest-yml