Compare commits
4 Commits
e8fc19bd54
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
238e57e4db | ||
|
|
50f03d8939 | ||
|
|
61d35dd851 | ||
| 45fd1d5874 |
29
.gitea/workflows/claude.yml
Normal file
29
.gitea/workflows/claude.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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: yellow-zeabur-runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: markwylde/claude-code-gitea-action@v1.0.20
|
||||
with:
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
gitea_token: ${{ secrets.USER_TOKEN }}
|
||||
claude_git_name: Claude
|
||||
claude_git_email: claude@anthropic.com
|
||||
path_to_claude_code_executable: /usr/local/bin/claude
|
||||
claude_args: |
|
||||
--append-system-prompt "請一律使用繁體中文回覆,包含 issue/PR 留言、commit message 說明文字、todo list 項目。程式碼註解與變數命名維持英文慣例即可。"
|
||||
env:
|
||||
GITEA_SERVER_URL: https://yellow-git.zeabur.app
|
||||
Reference in New Issue
Block a user