diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index 4294075..2764421 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -29,6 +29,5 @@ jobs: - Documentation consistency: Verify that README.md and other documentation files are updated to reflect any code changes (especially new inputs, features, or configuration options) Be constructive and specific in your feedback. Give inline comments where applicable. - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} allowed_tools: "mcp__github__create_pending_pull_request_review,mcp__github__add_pull_request_review_comment_to_pending_review,mcp__github__submit_pending_pull_request_review,mcp__github__get_pull_request_diff" diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 6d32727..192901a 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -33,8 +33,7 @@ jobs: id: claude uses: anthropics/claude-code-action@beta with: - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} allowed_tools: "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)" custom_instructions: "You have also been granted tools for editing files and running bun commands (install, run, test, typecheck) for testing your changes: bun install, bun test, bun run format, bun typecheck." model: "claude-opus-4-20250514" diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 2fb9a04..de7eece 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -103,5 +103,4 @@ jobs: allowed_tools: "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues" mcp_config: /tmp/mcp-config/mcp-servers.json timeout_minutes: "5" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.github/workflows/test-base-action.yml b/.github/workflows/test-base-action.yml index 0d29cfd..e842eaf 100644 --- a/.github/workflows/test-base-action.yml +++ b/.github/workflows/test-base-action.yml @@ -23,8 +23,7 @@ jobs: uses: ./base-action with: prompt: ${{ github.event.inputs.test_prompt || 'List the files in the current directory starting with "package"' }} - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} allowed_tools: "LS,Read" timeout_minutes: "3" @@ -82,8 +81,7 @@ jobs: uses: ./base-action with: prompt_file: "test-prompt.txt" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} allowed_tools: "LS,Read" timeout_minutes: "3" diff --git a/.github/workflows/test-claude-env.yml b/.github/workflows/test-claude-env.yml index a18aecd..aaeee7a 100644 --- a/.github/workflows/test-claude-env.yml +++ b/.github/workflows/test-claude-env.yml @@ -19,8 +19,7 @@ jobs: with: prompt: | Use the Bash tool to run: echo "VAR1: $VAR1" && echo "VAR2: $VAR2" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} claude_env: | # This is a comment VAR1: value1 diff --git a/.github/workflows/test-custom-executables.yml b/.github/workflows/test-custom-executables.yml index c9506d1..aa3089e 100644 --- a/.github/workflows/test-custom-executables.yml +++ b/.github/workflows/test-custom-executables.yml @@ -49,8 +49,7 @@ jobs: with: prompt: | List the files in the current directory starting with "package" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} path_to_claude_code_executable: /home/runner/.local/bin/claude path_to_bun_executable: /home/runner/.bun/bin/bun allowed_tools: "LS,Read" diff --git a/.github/workflows/test-mcp-servers.yml b/.github/workflows/test-mcp-servers.yml index 118ff55..28ffecc 100644 --- a/.github/workflows/test-mcp-servers.yml +++ b/.github/workflows/test-mcp-servers.yml @@ -28,8 +28,7 @@ jobs: id: claude-test with: prompt: "List all available tools" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} env: # Change to test directory so it finds .mcp.json CLAUDE_WORKING_DIR: ${{ github.workspace }}/base-action/test/mcp-test @@ -110,8 +109,7 @@ jobs: id: claude-config-test with: prompt: "List all available tools" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} mcp_config: '{"mcpServers":{"test-server":{"type":"stdio","command":"bun","args":["simple-mcp-server.ts"],"env":{}}}}' env: # Change to test directory so bun can find the MCP server script diff --git a/.github/workflows/test-settings.yml b/.github/workflows/test-settings.yml index ff90e47..4bce9cc 100644 --- a/.github/workflows/test-settings.yml +++ b/.github/workflows/test-settings.yml @@ -19,8 +19,7 @@ jobs: with: prompt: | Use Bash to echo "Hello from settings test" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} settings: | { "permissions": { @@ -70,8 +69,7 @@ jobs: with: prompt: | Use Bash to echo "This should not work" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} settings: | { "permissions": { @@ -114,8 +112,7 @@ jobs: with: prompt: | Use Bash to echo "Hello from settings file test" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} settings: "test-settings.json" timeout_minutes: "2" @@ -170,8 +167,7 @@ jobs: with: prompt: | Use Bash to echo "This should not work from file" - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }} - claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }} + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} settings: "test-settings.json" timeout_minutes: "2"