Skip to content

Commit 539a7cc

Browse files
authored
Merge pull request #1552 from Adez017/dicord
add workflow for auto detection on duplicate issue
2 parents 4345420 + 408d3b8 commit 539a7cc

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
name: Detect duplicate issues
3+
4+
on:
5+
issues:
6+
types: [opened, reopened]
7+
8+
permissions:
9+
models: read
10+
issues: write
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.issue.number }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
continuous-triage-dedup:
18+
if: ${{ github.event.issue.user.type != 'Bot' }}
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: pelikhan/action-genai-issue-dedup@v0
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
# Optional tuning:
25+
# labels: "auto" # compare within matching labels, or "bug,api"
26+
# count: "20" # how many recent issues to check
27+
# since: "90d" # look back window, supports d/w/m

0 commit comments

Comments
 (0)