Fix Android crashes caused by attempts to use unsupported DRMs #48
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_target: | |
| types: [opened, ready_for_review] | |
| # Optional: Only run on specific file changes | |
| # paths: | |
| # - "src/**/*.cpp" | |
| # - "src/**/*.h" | |
| # - "src/**/*.py" | |
| jobs: | |
| claude-review: | |
| # Optional: Filter by PR author | |
| # if: | | |
| # github.event.pull_request.user.login == 'external-contributor' || | |
| # github.event.pull_request.user.login == 'new-developer' || | |
| # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| fetch-depth: 0 | |
| - name: Run Claude Code Review | |
| id: claude-review | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| allowed_non_write_users: '*' | |
| prompt: | | |
| REPO: ${{ github.repository }} | |
| PR NUMBER: ${{ github.event.pull_request.number }} | |
| Review this pull request for issues while following code guidelines available at: https://github.com/xbmc/xbmc/blob/master/docs/CODE_GUIDELINES.md | |
| Be extremely concise. | |
| Check for: | |
| - Bugs, crashes, undefined behavior | |
| - Memory leaks, resource management issues | |
| - Thread safety problems | |
| - Security vulnerabilities | |
| - Performance issues | |
| - Logic errors | |
| - Code style violations | |
| Format (issues only): | |
| **Severity** (Critical/Must Fix/Medium/Low/Minor) | |
| **Issue title** (file:line) | |
| Brief description of problem. Suggested fix with reasoning if needed (2-3 lines max). | |
| Rules: | |
| - NO positive feedback, NO "looks good", NO summary sections | |
| - Keep each issue brief but clear | |
| - Use inline comments for code-specific issues | |
| - Skip severity sections if empty | |
| Note: The PR branch is already checked out in the current working directory. | |
| After your review: | |
| 1. If you found issues: Use `gh pr comment` for top-level summary, and `mcp__github_inline_comment__create_inline_comment` to highlight specific code issues | |
| 2. If everything looks good: Use `gh pr review --approve` with NO message (just the approval checkmark) | |
| # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | |
| # or https://docs.claude.com/en/docs/claude-code/cli-reference for available options | |
| claude_args: | | |
| --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr review:*),Bash(gh pr diff:*),Bash(gh pr view:*)" |