A collection of AI-related GitHub actions.
Review a PR using Anthropic Claude Code GitHub action.
- uses: aboutbits/github-actions-ai/code-review@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}The following inputs can be used as step.with keys:
| Name | Required/Default | Description |
|---|---|---|
anthropic-api-key |
required | Anthropic API Key |
The action requires the following permissions:
contents: writepull-requests: writeid-token: write
This example shows how to trigger the action on a PR comment, which contains the word "ai review".
jobs:
ai-review:
if: |
github.event.issue.pull_request != null &&
contains(github.event.comment.body, 'ai review')
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Run AI Code Review
uses: aboutbits/github-actions-ai/code-review@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
To build and publish the action, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.
About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.
For support, please contact [email protected].
The MIT License (MIT). Please see the license file for more information.