From e33d7c3bebc38fab93b5767ffa95e499ce92cdcc Mon Sep 17 00:00:00 2001 From: Kros Dai Date: Sun, 29 Mar 2026 08:35:02 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20fix(ci):=20remove=20unused?= =?UTF-8?q?=20`ANTHROPIC=5FBASE=5FURL`=20secret=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 🔥 The `workflow_call` declared it as a secret, but the step uses `vars.ANTHROPIC_BASE_URL` (a repo variable) instead Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/code-review.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 7126ad1..88a7481 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -7,8 +7,6 @@ on: secrets: ANTHROPIC_API_KEY: required: true - ANTHROPIC_BASE_URL: - required: false permissions: actions: read From 74b3f64c73d1ec18da89e6d9262fd7694dc4598b Mon Sep 17 00:00:00 2001 From: Kros Dai Date: Sun, 29 Mar 2026 08:40:06 -0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20README=20to?= =?UTF-8?q?=20reflect=20`ANTHROPIC=5FBASE=5FURL`=20as=20a=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 📝 Move `ANTHROPIC_BASE_URL` from Secrets table to a new Variables section - 🔥 Remove commented-out secret line from usage example Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7ec5bf0..72eb2e1 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,23 @@ jobs: uses: taptap/.github/.github/workflows/code-review.yml@main secrets: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - # ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }} # optional ``` #### Secrets -| Secret | Required | Description | -| -------------------- | -------- | ----------------------------------------------- | -| `ANTHROPIC_API_KEY` | Yes | API key for Anthropic | -| `ANTHROPIC_BASE_URL` | No | Custom API base URL (e.g. for proxy or gateway) | +| Secret | Required | Description | +| ------------------- | -------- | ----------------------- | +| `ANTHROPIC_API_KEY` | Yes | API key for Anthropic | -Set these as **org-level secrets** so all repos inherit them, or per-repo if needed. +Set this as an **org-level secret** so all repos inherit it, or per-repo if needed. + +#### Variables + +| Variable | Required | Description | +| --------------------- | -------- | ----------------------------------------------- | +| `ANTHROPIC_BASE_URL` | No | Custom API base URL (e.g. for proxy or gateway) | + +Set this as an **org-level variable** (not a secret) if you need to route requests through a proxy. #### Behavior