mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 18:04:48 +00:00
ci: add Claude assistant GitHub Actions workflow
This commit is contained in:
parent
0ecf4cbe0d
commit
59f0ca58ac
1 changed files with 31 additions and 0 deletions
31
.github/workflows/claude.yml
vendored
Normal file
31
.github/workflows/claude.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
name: Claude Assistant
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
pull_request_review_comment:
|
||||||
|
types: [created]
|
||||||
|
issues:
|
||||||
|
types: [opened, assigned, labeled]
|
||||||
|
pull_request_review:
|
||||||
|
types: [submitted]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
claude-response:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: "20"
|
||||||
|
|
||||||
|
- name: Install sandbox-agent skill
|
||||||
|
run: npx skills add https://sandboxagent.dev/docs --yes
|
||||||
|
|
||||||
|
- name: Run Claude
|
||||||
|
uses: anthropics/claude-code-action@v1
|
||||||
|
with:
|
||||||
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue