fix(motion-graphics): correct FileTools import path + constructor (v0.2.25) #41
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: Chain Claude After Reviewers | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| claude-final-review: | |
| if: | | |
| github.event_name == 'pull_request_review' && | |
| github.event.review.user.login == 'copilot-pull-request-reviewer[bot]' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Post Claude final review + fix request | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.GH_TOKEN }} | |
| script: | | |
| const issue_number = context.payload.pull_request?.number ?? context.issue?.number; | |
| const comments = await github.rest.issues.listComments({ | |
| issue_number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| per_page: 100 | |
| }); | |
| if (comments.data.some(c => c.body && /@claude\b/i.test(c.body))) { | |
| console.log('@claude already requested, skipping'); | |
| return; | |
| } | |
| await github.rest.issues.createComment({ | |
| issue_number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: '@claude You are the FINAL reviewer. Read ALL comments above from Qodo, Coderabbit, and Copilot.\n\n**Phase 1: Review**\n1. Code follows existing tool patterns (see lumalabs_tool.py)?\n2. Lazy imports for optional deps?\n3. All options as function parameters?\n4. Proper error handling?\n\n**Phase 2: Fix valid issues**\n5. Implement fixes from other reviewers\n6. Push to THIS branch\n\n**Phase 3: Verdict**\n7. Approve or request changes' | |
| }); |