-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.12 KB
/
Copy pathopencode.yml
File metadata and controls
38 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: opencode
on:
# https://github.com/sst/opencode/pull/2614 がマージされて、アクションが動作するようになってから再検証する。
# issue_comment:
# types: [created]
# pull_request_review:
# types: [submitted]
# pull_request_review_comment:
# types: [created]
workflow_dispatch:
jobs:
opencode:
# https://github.com/sst/opencode/pull/2614 がマージされて、アクションが動作するようになってから再検証する。
# if: |
# github.event_name == 'pull_request' ||
# contains(github.event.comment.body, ' /oc') ||
# startsWith(github.event.comment.body, '/oc') ||
# contains(github.event.comment.body, ' /opencode') ||
# startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Run opencode
uses: sst/opencode/github@v0.11.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
model: github-copilot/gpt-5-mini