mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 06:54:13 +08:00
Compare commits
3 Commits
claude/iss
...
ashwin/tri
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e35c991da9 | ||
|
|
65b9bcde80 | ||
|
|
70245e56e3 |
26
.github/workflows/issue-triage.yml
vendored
26
.github/workflows/issue-triage.yml
vendored
@@ -23,18 +23,20 @@ jobs:
|
|||||||
mkdir -p /tmp/mcp-config
|
mkdir -p /tmp/mcp-config
|
||||||
cat > /tmp/mcp-config/mcp-servers.json << 'EOF'
|
cat > /tmp/mcp-config/mcp-servers.json << 'EOF'
|
||||||
{
|
{
|
||||||
"github": {
|
"mcpServers": {
|
||||||
"command": "docker",
|
"github": {
|
||||||
"args": [
|
"command": "docker",
|
||||||
"run",
|
"args": [
|
||||||
"-i",
|
"run",
|
||||||
"--rm",
|
"-i",
|
||||||
"-e",
|
"--rm",
|
||||||
"GITHUB_PERSONAL_ACCESS_TOKEN",
|
"-e",
|
||||||
"ghcr.io/github/github-mcp-server:sha-7aced2b"
|
"GITHUB_PERSONAL_ACCESS_TOKEN",
|
||||||
],
|
"ghcr.io/github/github-mcp-server:sha-7aced2b"
|
||||||
"env": {
|
],
|
||||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
"env": {
|
||||||
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ runs:
|
|||||||
- name: Run Claude Code
|
- name: Run Claude Code
|
||||||
id: claude-code
|
id: claude-code
|
||||||
if: steps.prepare.outputs.contains_trigger == 'true'
|
if: steps.prepare.outputs.contains_trigger == 'true'
|
||||||
uses: anthropics/claude-code-base-action@c8e31bd52d9a149b3f8309d7978c6edaa282688d # v0.0.8
|
uses: anthropics/claude-code-base-action@1370ac97fbba9bddec20ea2924b5726bf10d8b94 # v0.0.9
|
||||||
with:
|
with:
|
||||||
prompt_file: /tmp/claude-prompts/claude-prompt.txt
|
prompt_file: /tmp/claude-prompts/claude-prompt.txt
|
||||||
allowed_tools: ${{ env.ALLOWED_TOOLS }}
|
allowed_tools: ${{ env.ALLOWED_TOOLS }}
|
||||||
|
|||||||
Reference in New Issue
Block a user