From 62d4cf1a09d0c8fe27623451bd4382bfe4944269 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 13:36:16 +0800 Subject: [PATCH] Use the built-in GitHub token for the MCP tests in CI The workflow read secrets.GH_TOKEN, which is not set, so the GitHub MCP integration test skipped on every run. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69bc108f..baf742b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -312,6 +312,6 @@ jobs: echo "MCP tests completed successfully!" env: OPTILLM_API_KEY: optillm - # Not available on fork PRs, where the one test that needs it skips itself - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + # Built-in token, read-only on fork PRs; the GitHub MCP test only connects and lists tools + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HF_TOKEN: ${{ secrets.HF_TOKEN }} \ No newline at end of file