Commit cdb0bd9
feat: add opencode configuration (#11)
* feat: add opencode configuration
* feat(ci): restrict opencode workflow to authorized users only
Add author association checks to ensure only repository owners, members,
and collaborators can trigger the opencode workflow. This prevents
unauthorized users from triggering potentially expensive operations.
Changes:
- Check comment.author_association before evaluating commands
- Require OWNER, MEMBER, or COLLABORATOR status
- Use consistent pattern with claude.yml workflow
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* feat(ci): enhance opencode workflow with comprehensive triggers
Expand opencode workflow to support multiple trigger events, add
timeout/concurrency controls, and simplify command syntax. This brings
the workflow to parity with the claude.yml pattern.
Changes:
- Add pull_request_review_comment, issues, and pull_request_review
triggers
- Add 30-minute timeout to accommodate extended Codex runs
- Add concurrency grouping to prevent duplicate runs
- Expand authorization checks to handle all event types with null
checks
- Simplify command from /oc-gpt-5-codex to /oc-codex
- Add version pinning documentation comment
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: correct typo
---------
Co-authored-by: Claude <[email protected]>1 parent 84fb711 commit cdb0bd9
1 file changed
+55
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments