chore(deps): bump brace-expansion from 1.1.12 to 1.1.18 in /examples/local-demo #189
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, ready_for_review, reopened] | |
| # Optional: Only run on specific file changes | |
| # paths: | |
| # - "src/**/*.ts" | |
| # - "src/**/*.tsx" | |
| # - "src/**/*.js" | |
| # - "src/**/*.jsx" | |
| jobs: | |
| claude-review: | |
| # Skip PRs opened by bots (e.g. claude[bot]) to avoid infinite review loops. | |
| if: github.event.pull_request.user.type != 'Bot' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| issues: read | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Run Claude Code Review | |
| id: claude-review | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | |
| plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' | |
| plugins: 'code-review@claude-code-plugins' | |
| prompt: | | |
| /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }} | |
| CRITICAL — CHECK BACKWARD COMPATIBILITY FIRST (this is the most important review criterion): | |
| Every change must be purely additive. Breaking changes are never acceptable. | |
| Fail the review immediately if any of the following are present: | |
| - A public symbol (class, function, method, field, type) is removed or renamed | |
| - An existing method signature is changed in a way that breaks callers (adding required parameters, removing parameters, changing types) | |
| - Existing behaviour changes for callers who have not opted in to new functionality | |
| - Storage or serialisation formats change in a backward-incompatible way | |
| - A previously optional dependency becomes required | |
| - New fields on dataclasses/interfaces/options objects are not optional with sensible defaults | |
| After verifying backward compatibility, check documentation: | |
| Every code change must include a documentation update. Flag as REQUIRED if: | |
| - A new class, method, option, or field has no documentation update in docs/, README, or docstrings | |
| - Changed behaviour, renamed option, or updated default is not reflected in docs/ or README | |
| - Documentation still describes old or removed behaviour | |
| After both checks pass, continue with the standard code review. | |
| # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | |
| # or https://code.claude.com/docs/en/cli-reference for available options | |