mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 10:05:18 +00:00
ci: add workflow_dispatch trigger to Claude workflow
This commit is contained in:
parent
59f0ca58ac
commit
a13fc2e6f9
1 changed files with 7 additions and 0 deletions
7
.github/workflows/claude.yml
vendored
7
.github/workflows/claude.yml
vendored
|
|
@ -9,6 +9,12 @@ on:
|
||||||
types: [opened, assigned, labeled]
|
types: [opened, assigned, labeled]
|
||||||
pull_request_review:
|
pull_request_review:
|
||||||
types: [submitted]
|
types: [submitted]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
prompt:
|
||||||
|
description: "Prompt to send to Claude"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
claude-response:
|
claude-response:
|
||||||
|
|
@ -29,3 +35,4 @@ jobs:
|
||||||
uses: anthropics/claude-code-action@v1
|
uses: anthropics/claude-code-action@v1
|
||||||
with:
|
with:
|
||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
|
prompt: ${{ inputs.prompt }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue