Skip to content

feature(tokens): fix 2202 spacing token test and add regression tests 2207 and 2210 #267

feature(tokens): fix 2202 spacing token test and add regression tests 2207 and 2210

feature(tokens): fix 2202 spacing token test and add regression tests 2207 and 2210 #267

Workflow file for this run

name: OpenCode Agent
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
permissions:
id-token: write
contents: read
pull-requests: write
issues: write
jobs:
opencode:
if: >
(contains(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, '/opencode')) &&
github.actor != 'github-actions[bot]' &&
github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 1
persist-credentials: false
- name: Run OpenCode Agent
uses: anomalyco/opencode/github@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENCODE_MODEL: >-
${{ contains(github.event.comment.body, '--model mimo') && 'opencode/mimo-v2.5-free' ||
contains(github.event.comment.body, '--model nemotron') && 'opencode/nemotron-3-ultra-free' ||
'opencode/deepseek-v4-flash-free' }}
with:
model: ${{ env.OPENCODE_MODEL }}
use_github_token: true