Skip to content

Commit 234d6a6

Browse files
committed
chore(config): remove deprecated claude config, add opencode workflow
Remove old .claude/ settings and skills (superseded by opencode). Update release-drafter-config.yml with fix/, feat/, chore/ branch patterns. Add .github/workflows/opencode.yml for PR/issue comment triggers.
1 parent 0aed236 commit 234d6a6

7 files changed

Lines changed: 43 additions & 140 deletions

File tree

.claude/settings.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

.claude/skills/debug-issue.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

.claude/skills/explore-codebase.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.claude/skills/refactor-safely.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.claude/skills/review-changes.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/release-drafter-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ autolabeler:
3232
branch:
3333
- '/bugfix\/.+/'
3434
- '/hotfix\/.+/'
35+
- '/fix\/.+/'
3536
- label: 'feature'
3637
branch:
3738
- '/feature\/.+/'
39+
- '/feat\/.+/'
3840
- label: 'enhancement'
3941
branch:
4042
- '/enhancement\/.+/'
4143
- label: 'refactor'
4244
branch:
45+
- '/chore\/.+/'
4346
- '/refactor\/.+/'
4447
- label: 'dependencies'
4548
branch:

.github/workflows/opencode.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: opencode
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
9+
jobs:
10+
opencode:
11+
if: |
12+
contains(github.event.comment.body, ' /oc') ||
13+
startsWith(github.event.comment.body, '/oc') ||
14+
contains(github.event.comment.body, ' /opencode') ||
15+
startsWith(github.event.comment.body, '/opencode')
16+
runs-on: ubuntu-latest
17+
permissions:
18+
id-token: write
19+
contents: read
20+
pull-requests: read
21+
issues: read
22+
steps:
23+
- uses: actions/create-github-app-token@v3
24+
id: app-token
25+
with:
26+
client-id: ${{ secrets.APP_ID }}
27+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
28+
- name: Checkout repository
29+
uses: actions/checkout@v6
30+
with:
31+
persist-credentials: false
32+
33+
- name: Run opencode
34+
uses: anomalyco/opencode/github@latest
35+
env:
36+
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
37+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
38+
with:
39+
use_github_token: true
40+
model: opencode/deepseek-v4-flash

0 commit comments

Comments
 (0)