From f933d802fda6f17ebbcd0f9afc5616a3c90dd2b1 Mon Sep 17 00:00:00 2001 From: Kevin De Porre Date: Mon, 17 Nov 2025 12:18:48 +0100 Subject: [PATCH 1/2] Add claude code action --- .github/workflows/claude.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/claude.yml diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml new file mode 100644 index 000000000..14b2461ca --- /dev/null +++ b/.github/workflows/claude.yml @@ -0,0 +1,14 @@ +name: Claude Code +on: + issue_comment: + types: [created, edited] + pull_request_review_comment: + types: [created, edited] +jobs: + claude: + runs-on: ubuntu-latest + steps: + - uses: anthropics/claude-code-action@v1 + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + # Responds to @claude mentions in comments \ No newline at end of file From 5154c4426325f4fa82d6bfeb57a44e04b5f5a69b Mon Sep 17 00:00:00 2001 From: Kevin De Porre Date: Mon, 17 Nov 2025 15:13:24 +0100 Subject: [PATCH 2/2] Give additional permissions to claude --- .github/workflows/claude.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 14b2461ca..45331c601 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -7,6 +7,10 @@ on: jobs: claude: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + issues: write steps: - uses: anthropics/claude-code-action@v1 with: