From 3250a6f25d556f0df799b37f2203db6e776ebe6f Mon Sep 17 00:00:00 2001 From: kbe Date: Tue, 9 Sep 2025 15:25:00 +0200 Subject: [PATCH] Trying to add Claude Code --- .gitea/workflows/claude.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/claude.yml diff --git a/.gitea/workflows/claude.yml b/.gitea/workflows/claude.yml new file mode 100644 index 0000000..4951152 --- /dev/null +++ b/.gitea/workflows/claude.yml @@ -0,0 +1,23 @@ +name: Claude Assistant +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + issues: + types: [opened, assigned] + pull_request_review: + types: [submitted] + +jobs: + claude-response: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: markwylde/claude-code-gitea-action@v1.0.5 + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # if you want to use direct API + # claude_credentials: ${{ secrets.CLAUDE_CREDENTIALS }} # if you have a Claude Max subscription + # gitea_token: ${{ secrets.GITEA_TOKEN }} # could be another users token (specific Claude user?) + # claude_git_name: Claude # optional + # claude_git_email: claude@anthropic.com # optional