mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-01 04:33:02 +03:00
22 lines
736 B
YAML
22 lines
736 B
YAML
# Attempts to auto-detect weather an issue is a duplicate, and adds a comment
|
|
name: 🎯 Issue Duplicate Check
|
|
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
jobs:
|
|
check-duplicate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: wow-actions/potential-duplicates@v1
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
|
filter: ''
|
|
exclude: '[BUG] [QUESTION] [FEEDBACK] [SHOWCASE]'
|
|
label: '🕸️ Potential Duplicate'
|
|
state: all
|
|
threshold: 0.75
|
|
reactions: 'eyes'
|
|
comment: >
|
|
Potential duplicates: {{#issues}}
|
|
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
|
|
{{/issues}} |