55 types : [opened]
66
77jobs :
8- find-duplicates :
8+ find-related :
99 if : github.event.action == 'opened'
1010 runs-on : [self-hosted, opencode]
1111
1919 with :
2020 fetch-depth : 1
2121
22- - name : Find duplicates
22+ - name : Find related
2323 env :
2424 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2525 OPENCODE_PERMISSION : |
@@ -35,15 +35,15 @@ jobs:
3535
3636 Issue number: ${{ github.event.issue.number }}
3737
38- Lookup this issue with gh issue view ${{ github.event.issue.number }}.
38+ Lookup this issue with ` gh issue view ${{ github.event.issue.number }} --json title,body,url,number`
3939
4040 Perform the following task and then post a SINGLE comment (if needed).
4141
4242 ---
4343
44- TASK : DUPLICATE CHECK
44+ TASK : FIND RELATED ISSUES
4545
46- Search through existing issues (excluding #${{ github.event.issue.number }}) to find potential duplicates .
46+ Search through existing issues (excluding #${{ github.event.issue.number }}) to find related or similar issues .
4747 Consider:
4848 1. Similar titles or descriptions
4949 2. Same error messages or symptoms
@@ -56,13 +56,13 @@ jobs:
5656
5757 Based on your findings, post a SINGLE comment on issue #${{ github.event.issue.number }}. Build the comment as follows:
5858
59- If no duplicates were found, do NOT comment at all.
59+ If no related issues were found, do NOT comment at all.
6060
61- If duplicates were found, include a section about potential duplicates with links using the following format:
61+ If related issues were found, include a section listing them with links using the following format:
6262
6363 [comment]
64- This issue might be a duplicate of :
65- - #[issue_number]: [brief description of similarity ]
64+ This issue might be similar or related to :
65+ - #[issue_number]: [brief description of how they are related ]
6666
6767 _This comment was auto-generated locally using **$GA_ENGINE** on **$GA_MACHINE**_
6868 [/comment]
0 commit comments