mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 23:14:13 +08:00
Compare commits
2 Commits
test-autof
...
test-no-ap
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c533aaff5 | ||
|
|
8102aebe6d |
@@ -1,6 +1,6 @@
|
||||

|
||||
|
||||
# Claude Code Action (Final Test)
|
||||
# Claude Code Action - No Approval Test
|
||||
|
||||
A general-purpose [Claude Code](https://claude.ai/code) action for GitHub PRs and issues that can answer questions and implement code changes. This action listens for a trigger phrase in comments and activates Claude act on the request. It supports multiple authentication methods including Anthropic direct API, Amazon Bedrock, and Google Vertex AI.
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ async function run() {
|
||||
mode,
|
||||
githubToken,
|
||||
});
|
||||
core.setOutput("GITHUB_TOKEN", githubToken);
|
||||
|
||||
// MCP config is handled by individual modes (tag/agent) and included in their claude_args output
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ export const agentMode: Mode = {
|
||||
|
||||
async prepare({ context, githubToken }: ModeOptions): Promise<ModeResult> {
|
||||
// Agent mode handles automation events and any event with explicit prompts
|
||||
|
||||
console.log(`Agent mode: githubToken provided: ${!!githubToken}, length: ${githubToken?.length || 0}`);
|
||||
|
||||
// TODO: handle by createPrompt (similar to tag and review modes)
|
||||
// Create prompt directory
|
||||
|
||||
Reference in New Issue
Block a user