summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-01-04 13:30:55 -0600
committerAiden Cline <[email protected]>2026-01-04 13:30:58 -0600
commit80235f325e5208bd462ba884200256d40a358f77 (patch)
treef9d6800eae2eec4aee366e6101e7b3799b613f88 /.github
parent88c306efd297ff862ea425586a55f6d357817d4e (diff)
downloadopencode-80235f325e5208bd462ba884200256d40a358f77.tar.gz
opencode-80235f325e5208bd462ba884200256d40a358f77.zip
ci: fix dup pr action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/duplicate-prs.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/duplicate-prs.yml b/.github/workflows/duplicate-prs.yml
index 54bd9f3ef..87168dd72 100644
--- a/.github/workflows/duplicate-prs.yml
+++ b/.github/workflows/duplicate-prs.yml
@@ -30,8 +30,8 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
- - name: Install opencode
- run: curl -fsSL https://opencode.ai/install | bash
+ - name: Install dependencies
+ run: bun install
- name: Build prompt
env:
@@ -53,7 +53,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
- COMMENT=$(opencode run --agent duplicate-pr --print -f pr_info.txt "Check the attached file for PR details and search for duplicates")
+ COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_