Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:building_construction: Adds action to check for duplicate issues

Alicia Sykesde76deaa5759
diff --git a/.github/workflows/check-duplicate-issues.yml b/.github/workflows/check-duplicate-issues.yml
new file mode 100644
index 00000000..09d75bb6
--- /dev/null
+++ b/.github/workflows/check-duplicate-issues.yml
@@ -0,0 +1,22 @@
+# 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 }}
+ filter: ''
+ exclude: '[BUG] [QUESTION] [FEEDBACK] [SHOWCASE]'
+ label: 'πŸ•ΈοΈ Potential Duplicate'
+ state: all
+ threshold: 0.6
+ reactions: 'eyes'
+ comment: >
+ Potential duplicates: {{#issues}}
+ - [#{{ number }}] {{ title }} ({{ accuracy }}%)
+ {{/issues}}
\ No newline at end of file