-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 807 Bytes
/
Copy pathopencode.yml
File metadata and controls
32 lines (26 loc) · 807 Bytes
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
name: OpenCode Agent
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
permissions:
contents: write
pull-requests: write
issues: write
actions: read
jobs:
opencode:
if: contains(github.event.comment.body, '/opencode') || contains(github.event.comment.body, '/oc')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show request
run: |
echo "OpenCode trigger detected."
echo "${{ github.event.comment.body }}"
- name: Placeholder for OpenCode GitHub integration
run: |
echo "Install/configure OpenCode GitHub integration here."
echo "Do not enable autonomous write behavior until secrets and approval rules are configured."