From 9422a6935d86d89d3fb4933ff4468d561cfc7e56 Mon Sep 17 00:00:00 2001 From: Kenny Heitritter Date: Sun, 18 Jan 2026 23:05:32 -0500 Subject: [PATCH 1/2] fix(ci): add ref input to CodeQ GCS workflow Allows specifying which branch/tag/SHA to build from. This is needed to test the workflow before the branding code is merged to dev. --- .github/workflows/codeq-gcs-upload.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeq-gcs-upload.yml b/.github/workflows/codeq-gcs-upload.yml index 67ece4686e8..9c6c54577ee 100644 --- a/.github/workflows/codeq-gcs-upload.yml +++ b/.github/workflows/codeq-gcs-upload.yml @@ -7,6 +7,10 @@ on: description: "Version tag (e.g., v1.0.0). Leave empty to use current timestamp." required: false type: string + ref: + description: "Git ref to build from (branch, tag, or SHA). Defaults to the branch the workflow is run from." + required: false + type: string jobs: build: @@ -40,6 +44,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref || github.ref }} - name: Setup Bun uses: oven-sh/setup-bun@v2 From ba16f592251556fd3e63a6cd038c552bb080b537 Mon Sep 17 00:00:00 2001 From: Kenny Heitritter Date: Sun, 18 Jan 2026 23:11:04 -0500 Subject: [PATCH 2/2] fix(branding): add branding as workspace package for zod resolution The branding scripts import zod but weren't part of the workspace, causing 'Cannot find package zod' errors in CI. - Add branding/package.json with zod catalog dependency - Add branding to root workspaces list --- branding/package.json | 8 ++++++++ bun.lock | 8 ++++++++ package.json | 3 ++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 branding/package.json diff --git a/branding/package.json b/branding/package.json new file mode 100644 index 00000000000..0fbd7ec0a0b --- /dev/null +++ b/branding/package.json @@ -0,0 +1,8 @@ +{ + "name": "branding", + "private": true, + "type": "module", + "dependencies": { + "zod": "catalog:" + } +} diff --git a/bun.lock b/bun.lock index 9cda088153c..7acae7c6d32 100644 --- a/bun.lock +++ b/bun.lock @@ -20,6 +20,12 @@ "turbo": "2.5.6", }, }, + "branding": { + "name": "branding", + "dependencies": { + "zod": "catalog:", + }, + }, "packages/app": { "name": "@opencode-ai/app", "version": "1.1.25", @@ -2061,6 +2067,8 @@ "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], + "branding": ["branding@workspace:branding"], + "brotli": ["brotli@1.3.3", "", { "dependencies": { "base64-js": "^1.1.2" } }, "sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg=="], "browserslist": ["browserslist@4.28.0", "", { "dependencies": { "baseline-browser-mapping": "^2.8.25", "caniuse-lite": "^1.0.30001754", "electron-to-chromium": "^1.5.249", "node-releases": "^2.0.27", "update-browserslist-db": "^1.1.4" }, "bin": { "browserslist": "cli.js" } }, "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ=="], diff --git a/package.json b/package.json index f1d6c4fead1..72fa58f5549 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "packages/*", "packages/console/*", "packages/sdk/js", - "packages/slack" + "packages/slack", + "branding" ], "catalog": { "@types/bun": "1.3.5",