summaryrefslogtreecommitdiffhomepage
path: root/.opencode/agent
diff options
context:
space:
mode:
authorRavi Kumar <[email protected]>2026-01-06 00:29:42 +0530
committerGitHub <[email protected]>2026-01-05 12:59:42 -0600
commitc6a241e3319f8a4818581f22712aaccbccda0d26 (patch)
tree4f42a7a3ba51faf1b78799ebc74b5b693d5f4815 /.opencode/agent
parent4b7301e8ca14ad325f580b845ae3319f0d4d0c15 (diff)
downloadopencode-c6a241e3319f8a4818581f22712aaccbccda0d26.tar.gz
opencode-c6a241e3319f8a4818581f22712aaccbccda0d26.zip
ci: prevent duplicate PR check from flagging current PR as duplicate (#6924)
Co-authored-by: Aiden Cline <[email protected]>
Diffstat (limited to '.opencode/agent')
-rw-r--r--.opencode/agent/duplicate-pr.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/.opencode/agent/duplicate-pr.md b/.opencode/agent/duplicate-pr.md
index c053ace5d..257145508 100644
--- a/.opencode/agent/duplicate-pr.md
+++ b/.opencode/agent/duplicate-pr.md
@@ -12,6 +12,8 @@ You are a duplicate PR detection agent. When a PR is opened, your job is to sear
Use the github-pr-search tool to search for PRs that might be addressing the same issue or feature.
+IMPORTANT: The input will contain a line `CURRENT_PR_NUMBER: NNNN`. This is the current PR number, you should not mark that the current PR as a duplicate of itself.
+
Search using keywords from the PR title and description. Try multiple searches with different relevant terms.
If you find potential duplicates: