Skip to content

Commit c206f21

Browse files
congxiao-wxxclaude
andcommitted
ci: use placeholder for API_KEY and WORKSPACE_ID in e2e workflow
These values are not needed for the OIDC-authenticated e2e tests. Hardcode placeholders instead of requiring GitHub Secrets. Change-Id: I171b4d8b705dea9ac0ce0ccce1dfaa8cb716a2c0 Co-developed-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5981780 commit c206f21

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
AGENTRUN_REGION: ${{ secrets.AGENTRUN_REGION }}
6565
AGENTRUN_CONTROL_ENDPOINT: ${{ secrets.AGENTRUN_CONTROL_ENDPOINT }}
6666
AGENTRUN_DATA_ENDPOINT: ${{ secrets.AGENTRUN_DATA_ENDPOINT }}
67-
API_KEY: ${{ secrets.API_KEY }}
68-
AGENTRUN_TEST_WORKSPACE_ID: ${{ secrets.AGENTRUN_TEST_WORKSPACE_ID }}
67+
API_KEY: sk-placeholder
68+
AGENTRUN_TEST_WORKSPACE_ID: placeholder
6969
run: |
7070
uv run pytest tests/e2e/ -v --tb=short
7171

docs/e2e-oidc-setup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ Go to **GitHub repo > Settings > Secrets and variables > Actions** and add:
146146
| `AGENTRUN_REGION` | Region for test resources | `cn-hangzhou` |
147147
| `AGENTRUN_CONTROL_ENDPOINT` | AgentRun control API endpoint | `https://agentrun.cn-hangzhou.aliyuncs.com` |
148148
| `AGENTRUN_DATA_ENDPOINT` | AgentRun data API endpoint | `https://1234567890.agentrun-data.cn-hangzhou.aliyuncs.com` |
149-
| `API_KEY` | API key for AgentRun calls | (your API key) |
150-
| `AGENTRUN_TEST_WORKSPACE_ID` | Workspace ID for test isolation | (your workspace ID) |
149+
150+
151+
> `API_KEY` and `AGENTRUN_TEST_WORKSPACE_ID` use hardcoded placeholders in the
152+
> workflow and do not need to be configured as secrets.
151153
152154
## Step 5: Verify
153155

0 commit comments

Comments
 (0)