fix: Decrement loop index after removing operative in cancel loop #143
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: opencode_review | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| opencode: | |
| if: | | |
| startsWith(github.event.comment.body, '/review') | |
| && contains(fromJson('["OWNER","MEMBER"]'), github.event.comment.author_association) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Run OpenCode | |
| uses: anomalyco/opencode/[email protected] | |
| env: | |
| OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} | |
| with: | |
| model: opencode/deepseek-v4-flash-free | |
| variant: max | |
| agent: pr_review | |
| share: false | |
| prompt: | | |
| Review this pull request: | |
| - Check for code quality issues | |
| - Look for potential bugs and regressions | |
| - Suggest improvements | |
| Respond terse. All technical substance stays. Only fluff dies. |