mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[misc] Add automatic duplicate issue detection
This commit is contained in:
parent
4823ec9f46
commit
15b2d3db1d
1 changed files with 20 additions and 0 deletions
20
.github/workflows/potential-duplicates.yml
vendored
Normal file
20
.github/workflows/potential-duplicates.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Potential Duplicates
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: wow-actions/potential-duplicates@v1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
label: potential-duplicate
|
||||
state: all
|
||||
threshold: 0.7
|
||||
comment: |
|
||||
This issue is potentially a duplicate of one of the following issues:
|
||||
{{#issues}}
|
||||
- #{{ number }} ({{ accuracy }}%)
|
||||
{{/issues}}
|
Loading…
Reference in a new issue