https://github.com/koki-develop/claude-renovate-review
Review Renovate PRs using Claude Code.
https://github.com/koki-develop/claude-renovate-review
Last synced: about 1 hour ago
JSON representation
Review Renovate PRs using Claude Code.
- Host: GitHub
- URL: https://github.com/koki-develop/claude-renovate-review
- Owner: koki-develop
- License: mit
- Created: 2025-08-08T05:04:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-04-11T01:34:42.000Z (17 days ago)
- Last Synced: 2026-04-11T03:24:33.404Z (17 days ago)
- Homepage: https://github.com/marketplace/actions/claude-renovate-review-action
- Size: 476 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Claude Renovate Review Action
[](./LICENSE)
[](./.github/workflows/release-please.yml)
Review Renovate PRs using Claude Code.

## Usage
```yaml
name: Claude Renovate Review
on:
pull_request:
types:
- opened
- edited
jobs:
claude-renovate-review:
if: github.event.pull_request.user.login == 'renovate[bot]'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # for commenting on the PR
steps:
- uses: actions/checkout@v4
- uses: koki-develop/claude-renovate-review@v1
id: review
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
# or
claude-code-oauth-token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Use the safety-assessment output
- name: Check safety assessment
run: echo "Safety Assessment: ${{ steps.review.outputs.safety-assessment }}"
```
### Using the safety-assessment output
You can use the `safety-assessment` output to automate PR workflows based on the safety level.
#### Auto-approve safe PRs
```yaml
- name: Auto-approve if safe
if: steps.review.outputs.safety-assessment == 'safe'
run: gh pr review "$PR_NUMBER" --approve
env:
GITHUB_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
```
#### Auto-merge safe PRs
```yaml
- name: Auto-merge if safe
if: steps.review.outputs.safety-assessment == 'safe'
run: gh pr merge "$PR_NUMBER" --auto
env:
GITHUB_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
```
## Inputs
| Name | Description | Required | Default |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------ |
| `anthropic-api-key` | Anthropic API key for Claude Code | No\* | - |
| `claude-code-oauth-token` | Claude Code OAuth token (alternative to anthropic-api-key) | No\* | - |
| `github-token` | GitHub token with repo and pull request permissions | No | `${{ github.token }}` |
| `create-comment` | Create the review result as a comment on the pull request | No | `true` |
| `pull-request-number` | The number of the pull request to review. If not provided, it will use the pull request number from the event context | No | - |
| `allowed-tools` | Newline-separated list of allowed tools for Claude Code. Each tool should be on a separate line | No | `WebFetch(domain:github.com)`
`WebFetch(domain:raw.githubusercontent.com)` |
\* Either `anthropic-api-key` or `claude-code-oauth-token` must be provided.
## Outputs
| Name | Description |
| ------------------- | ------------------------------------------------------------------------- |
| `report` | The review report generated by Claude Code |
| `safety-assessment` | Safety assessment result: `safe`, `needs-manual-migration`, or `not-safe` |
## License
[MIT](./LICENSE)