Skip to content

chore(release): 3.5.1-beta.4 #236

chore(release): 3.5.1-beta.4

chore(release): 3.5.1-beta.4 #236

Workflow file for this run

name: Claude Code Review
on:
pull_request:
types: [opened]
jobs:
claude-code-review:
name: 🤖 Claude Code Review
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
steps:
- name: Checkout PR code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
- name: Run Claude Code Review
uses: anthropics/claude-code-action@v1
timeout-minutes: 10
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'
prompt: |
Please review this pull request (PR #${{ github.event.pull_request.number }}) and provide feedback on:
**Code Quality**:
- Code structure and organization
- Error handling and edge cases
- Documentation completeness
- Performance considerations
**Home Assistant Best Practices**:
- Integration patterns
- Entity lifecycle management
- Config flow implementation
- Coordinator patterns
**Platinum Tier Requirements**:
- Websession injection implementation
- Type safety and strict typing (mypy)
- Async/await patterns
- Resource lifecycle management
- Comprehensive test coverage
**Translation Quality** (if applicable):
- Translation file structure and completeness
- Consistency across languages
- Proper JSON formatting
**API Integration**:
- Proper use of aiohttp
- Session management
- Error handling and retries
- Data validation
Use the repository's CLAUDE.md for guidance on style and conventions.
IMPORTANT: Use `gh pr comment ${{ github.event.pull_request.number }}` with your Bash tool to leave your review as a comment on the PR.
Be constructive and helpful in your feedback. If the code looks good, provide a brief positive summary.