Unverified 提交 f2541b6b authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

ci: pass GITHUB_TOKEN as GH_TOKEN in deflake e2e workflow (#2689)

## Summary - Added `GH_TOKEN` env var from `secrets.GITHUB_TOKEN` to the `Deflake E2E tests` action step in `.github/workflows/claude-deflake-e2e.yml`. - Removed `direct: true` from the `anthropics/claude-code-action` input list. ## Test plan - `npm run fmt` - `npm run lint:fix` - `npm run ts` - `npm test`
上级 d68e8786
...@@ -66,12 +66,12 @@ jobs: ...@@ -66,12 +66,12 @@ jobs:
- name: Deflake E2E tests - name: Deflake E2E tests
uses: anthropics/claude-code-action@v1 uses: anthropics/claude-code-action@v1
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CLAUDE_CODE_MAX_OUTPUT_TOKENS: 48000 CLAUDE_CODE_MAX_OUTPUT_TOKENS: 48000
with: with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
claude_args: --model claude-opus-4-6 claude_args: --model claude-opus-4-6
direct: true
prompt: | prompt: |
/dyad:deflake-e2e-recent-commits ${{ inputs.commit_count || '10' }} /dyad:deflake-e2e-recent-commits ${{ inputs.commit_count || '10' }}
- name: Cleanup (self-hosted macOS) - name: Cleanup (self-hosted macOS)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论