Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.

4 changed files with 3 additions and 43 deletions

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Claude - name: Claude
uses: https://git.kjan.de/actions/claude-pr-review@23487ee91f7b8a482ed5c2c1c03cf744f57eac3a uses: https://git.kjan.de/actions/claude-pr-review@1878fa8a576e5052194a42678af6f23776c7b206
with: with:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GITEA_URL: ${{ secrets._GITEA_URL }} GITEA_URL: ${{ secrets._GITEA_URL }}

View file

@ -1,41 +0,0 @@
# Claude PR Review
## Description
Reviews a PR using Claude
## Inputs
| name | description | required | default |
| -------------------- | ------------------------------------------------------------- | -------- | ------- |
| `ANTHROPIC_API_KEY` | <p>The API key for the anthropic API</p> | `true` | `""` |
| `GITEA_URL` | <p>The URL of the Gitea instance</p> | `true` | `""` |
| `GITEA_CLAUDE_TOKEN` | <p>The token of the claude account for the Gitea instance</p> | `true` | `""` |
## Runs
This action is a `composite` action.
## Usage
```yaml
- uses: https://git.kjan.de/actions/claude-pr-review@v1
with:
ANTHROPIC_API_KEY:
# The API key for the anthropic API
#
# Required: true
# Default: ""
GITEA_URL:
# The URL of the Gitea instance
#
# Required: true
# Default: ""
GITEA_CLAUDE_TOKEN:
# The token of the claude account for the Gitea instance
#
# Required: true
# Default: ""
```

View file

@ -57,7 +57,6 @@ runs:
- name: Claude PR Review - name: Claude PR Review
if: steps.check-renovate.outputs.author != 'Renovate Bot' if: steps.check-renovate.outputs.author != 'Renovate Bot'
continue-on-error: true
env: env:
ANTHROPIC_API_KEY: ${{ inputs.ANTHROPIC_API_KEY }} ANTHROPIC_API_KEY: ${{ inputs.ANTHROPIC_API_KEY }}
PR_NUMBER: ${{ github.event.number }} PR_NUMBER: ${{ github.event.number }}

View file

@ -13,6 +13,7 @@ module.exports = {
{ type: "style", release: "patch" }, { type: "style", release: "patch" },
{ type: "refactor", release: "patch" }, { type: "refactor", release: "patch" },
{ type: "test", release: "patch" }, { type: "test", release: "patch" },
{ type: "chore", release: "patch" },
{ type: "ci", release: "patch" }, { type: "ci", release: "patch" },
{ type: "build", release: "patch" }, { type: "build", release: "patch" },
{ type: "revert", release: "patch" }, { type: "revert", release: "patch" },
@ -36,6 +37,7 @@ module.exports = {
{ type: "style", section: "Code Style", hidden: false }, { type: "style", section: "Code Style", hidden: false },
{ type: "refactor", section: "Code Refactoring", hidden: false }, { type: "refactor", section: "Code Refactoring", hidden: false },
{ type: "test", section: "Tests", hidden: false }, { type: "test", section: "Tests", hidden: false },
{ type: "chore", section: "Chores", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false }, { type: "ci", section: "Continuous Integration", hidden: false },
{ type: "build", section: "Build System", hidden: false }, { type: "build", section: "Build System", hidden: false },
{ type: "revert", section: "Reverts", hidden: false }, { type: "revert", section: "Reverts", hidden: false },