From e47b9a1eb385a819c5807004da6f330c1263b451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20G=C3=B6n=C3=BCldinc?= <117762175+AppSolves@users.noreply.github.com> Date: Sat, 14 Nov 2026 19:57:43 +0100 Subject: [PATCH 1/2] Pin CodexBot to approved source 2172cf1fcca0 --- wrangler.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrangler.jsonc b/wrangler.jsonc index 6be8961..8759184 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -31,7 +31,7 @@ "PUBLIC_URL": "https://codexbot.appsolves.workers.dev", "GITHUB_APP_ID": "5754181", "GITHUB_APP_SLUG": "codexbot-review", - "TRUSTED_WORKFLOW": "AppSolves/codexbot/.github/workflows/review.yml@98c2bc4b6444e91333703dc57b57cd4c608a05ed", + "TRUSTED_WORKFLOW": "AppSolves/codexbot/.github/workflows/review.yml@2172cf1fcca0a378d9d9f133c79ed8bb9f8c55d2", "CHATGPT_DEPLOYMENT_AUTHORIZED": "true", "MERGE_DEPLOYMENT_AUTHORIZED": "false" }, From 2b7ec186285193f44057a58b7cd450a71743dd52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20G=C3=B6n=C3=BCldinc?= <117762175+AppSolves@users.noreply.github.com> Date: Sat, 14 Nov 2026 19:57:49 +0100 Subject: [PATCH 2/2] Assert final trusted workflow source pin --- tests/backend.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/backend.test.ts b/tests/backend.test.ts index 84c17df..ec4e06a 100644 --- a/tests/backend.test.ts +++ b/tests/backend.test.ts @@ -12,7 +12,7 @@ await test('hosted config, manifest and generated callers agree on Workers.dev w const config = JSON.parse(await readFile('wrangler.jsonc', 'utf8')); assert.equal(config.name, 'codexbot'); assert.equal(config.workers_dev, true); assert.equal(config.preview_urls, false); assert.equal(config.vars.PUBLIC_URL, DEFAULT_BACKEND); assert.equal(config.vars.MERGE_DEPLOYMENT_AUTHORIZED, 'false'); - assert.equal(config.vars.TRUSTED_WORKFLOW, 'AppSolves/codexbot/.github/workflows/review.yml@98c2bc4b6444e91333703dc57b57cd4c608a05ed'); + assert.equal(config.vars.TRUSTED_WORKFLOW, 'AppSolves/codexbot/.github/workflows/review.yml@2172cf1fcca0a378d9d9f133c79ed8bb9f8c55d2'); assert.deepEqual(config.routes, []); const manifest = JSON.parse(await readFile('app-manifest.json', 'utf8')); assert.equal(manifest.url, DEFAULT_BACKEND); assert.equal(manifest.hook_attributes.url, `${DEFAULT_BACKEND}/webhook`);