From 80235f325e5208bd462ba884200256d40a358f77 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sun, 4 Jan 2026 13:30:55 -0600 Subject: ci: fix dup pr action --- .github/workflows/duplicate-prs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') 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:_ -- cgit v1.2.3