flake-compat: wire up and expose tasks in the devenv flake wrapper #317
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Claude Code Review | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
claude-review: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: read | |
issues: read | |
id-token: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 1 | |
- name: Run Claude Code Review | |
id: claude-review | |
uses: anthropics/claude-code-action@beta | |
with: | |
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
# update the first comment | |
use_sticky_comment: true | |
# Direct prompt for automated review (no @claude mention needed) | |
direct_prompt: | | |
Please review this pull request and provide feedback on: | |
- Code quality and best practices | |
- Potential bugs or issues | |
- Performance considerations | |
- Security concerns | |
- Test coverage | |
Be constructive and helpful in your feedback, avoid saying what's good | |
and focus on thing that could be improved. | |
# Optional: Add specific tools for running tests or linting | |
# allowed_tools: "Bash(npm run test),Bash(npm run lint),Bash(npm run typecheck)" | |
# Optional: Skip review for certain conditions | |
# if: | | |
# !contains(github.event.pull_request.title, '[skip-review]') && | |
# !contains(github.event.pull_request.title, '[WIP]') | |