Repository navigation
chore(ci): add OpenCode PR review workflow #4
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: | |
| pull_request: | |
| jobs: | |
| review: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| pull-requests: write | |
| issues: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: anomalyco/opencode/github@latest | |
| env: | |
| SIEMENS_API_KEY: ${{ secrets.SIEMENS_API_KEY }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| model: siemens/qwen-3.6-27b | |
| use_github_token: true | |
| prompt: | | |
| Review this pull request and provide feedback as comments. | |
| Do NOT make any commits or changes. Only review and comment. |