summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-11-17 15:45:15 -0600
committerAiden Cline <[email protected]>2025-11-17 15:45:23 -0600
commit55b57e1aaea67462c6a6f320aa3b22b95978e3f7 (patch)
treeea23f80add12364a533beef527bac89f75c83368
parent21b7877bebcd96fab1c204ee4274e50189169366 (diff)
downloadopencode-55b57e1aaea67462c6a6f320aa3b22b95978e3f7.tar.gz
opencode-55b57e1aaea67462c6a6f320aa3b22b95978e3f7.zip
ci: tweak
-rw-r--r--.github/workflows/duplicate-issues.yml6
-rw-r--r--.github/workflows/test.yml6
-rw-r--r--.opencode/command/issues.md23
3 files changed, 32 insertions, 3 deletions
diff --git a/.github/workflows/duplicate-issues.yml b/.github/workflows/duplicate-issues.yml
index 11f49fb7d..23dc9d39a 100644
--- a/.github/workflows/duplicate-issues.yml
+++ b/.github/workflows/duplicate-issues.yml
@@ -27,12 +27,12 @@ jobs:
{
"bash": {
"gh issue*": "allow",
- "*": "deny"
- },
+ "*": "deny"
+ },
"webfetch": "deny"
}
run: |
- opencode run -m anthropic/claude-sonnet-4-20250514 "A new issue has been created:'
+ opencode run -m opencode/claude-haiku-4-5 "A new issue has been created:'
Issue number:
${{ github.event.issue.number }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c8d867284..ccce2aa25 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -28,3 +28,9 @@ jobs:
bun turbo test
env:
CI: true
+
+ - name: Check SDK is up to date
+ run: |
+ bun ./packages/sdk/js/script/build.ts
+ git diff --exit-code packages/sdk/js/src/gen packages/sdk/js/dist
+ continue-on-error: false
diff --git a/.opencode/command/issues.md b/.opencode/command/issues.md
new file mode 100644
index 000000000..793dce651
--- /dev/null
+++ b/.opencode/command/issues.md
@@ -0,0 +1,23 @@
+---
+description: "Find issue(s) on github"
+model: opencode/claude-haiku-4-5
+---
+
+Search through existing issues in sst/opencode using the gh cli to find issues matching this query:
+
+$ARGUMENTS
+
+Consider:
+
+1. Similar titles or descriptions
+2. Same error messages or symptoms
+3. Related functionality or components
+4. Similar feature requests
+
+Please list any matching issues with:
+
+- Issue number and title
+- Brief explanation of why it matches the query
+- Link to the issue
+
+If no clear matches are found, say so.