GeezerVison is showing github.com — fix: github action (#3223) · steipete/opencode@860c633
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/opencode.yml +7-5Lines changed: 7 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | opencode: |
9 | 9 | if: | |
10 | 10 | contains(github.event.comment.body, ' /oc') || |
11 | | - contains(github.event.comment.body, ' /opencode') |
| 11 | + startsWith(github.event.comment.body, '/oc') || |
| 12 | + contains(github.event.comment.body, ' /opencode') || |
| 13 | + startsWith(github.event.comment.body, '/opencode') |
12 | 14 | runs-on: ubuntu-latest |
13 | 15 | permissions: |
| 16 | + contents: write |
| 17 | + pull-requests: write |
| 18 | + issues: write |
14 | 19 | id-token: write |
15 | | - contents: read |
16 | | - pull-requests: read |
17 | | - issues: read |
18 | 20 | steps: |
19 | 21 | - name: Checkout repository |
20 | 22 | uses: actions/checkout@v4 |
|
24 | 26 | env: |
25 | 27 | OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} |
26 | 28 | with: |
27 | | - model: opencode/sonic |
| 29 | + model: opencode/kimi-k2 |
Collapse file
Copy file name to clipboardExpand all lines: bun.lock +65-1Lines changed: 65 additions & 1 deletion Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/package.json +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
33 | 33 | "@opencode-ai/script": "workspace:*" |
34 | 34 | }, |
35 | 35 | "dependencies": { |
| 36 | + "@actions/core": "1.11.1", |
| 37 | + "@actions/github": "6.0.1", |
36 | 38 | "@clack/prompts": "1.0.0-alpha.1", |
37 | 39 | "@hono/standard-validator": "0.1.5", |
38 | 40 | "@hono/zod-validator": "catalog:", |
39 | 41 | "@modelcontextprotocol/sdk": "1.15.1", |
| 42 | + "@octokit/graphql": "9.0.2", |
| 43 | + "@octokit/rest": "22.0.0", |
40 | 44 | "@openauthjs/openauth": "catalog:", |
41 | 45 | "@opencode-ai/plugin": "workspace:*", |
42 | 46 | "@opencode-ai/script": "workspace:*", |
|