Skip to content

Commit 8c25549

Browse files
committed
Bumps opencode GitHub Actions
1 parent 69b206c commit 8c25549

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/opencode.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,25 @@ on:
44
issue_comment:
55
types: [created]
66

7-
pull_request_review:
8-
types: [submitted]
9-
10-
pull_request_review_comment:
11-
types: [created]
12-
13-
workflow_dispatch:
14-
157
jobs:
168
opencode:
179
if: |
18-
github.event_name == 'pull_request' ||
1910
contains(github.event.comment.body, ' /oc') ||
2011
startsWith(github.event.comment.body, '/oc') ||
2112
contains(github.event.comment.body, ' /opencode') ||
2213
startsWith(github.event.comment.body, '/opencode')
2314
runs-on: ubuntu-latest
2415
permissions:
25-
contents: read
2616
id-token: write
17+
contents: read
18+
pull-requests: read
19+
issues: read
2720
steps:
2821
- name: Checkout repository
2922
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3023

3124
- name: Run opencode
32-
uses: sst/opencode/github@27c211ef869cae9d18b3fefc36ba787af75ebde0 # v0.14.5
25+
uses: sst/opencode/github@latest
3326
env:
3427
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3528
with:

0 commit comments

Comments
 (0)