1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-01-05 01:20:39 +02:00

Detect potential duplicated issues (#4817)

* Draft: Detect potential duplicated issues

* Change threshold for 0.7

- Remove confused emoji

* Reduce exclusion list

* Fixes from review

- Add newline before `jobs`
- Remove inline documentation
- Remove reactions
- Use proper sentence

* Use `|` symbol for comments

* Fix exclusion order

* Add some exclusions
This commit is contained in:
Alexandre Paradis 2021-10-10 03:58:35 -04:00 committed by GitHub
parent a33cd9c8eb
commit b7375ec336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,36 @@
name: Potential Duplicates
on:
issues:
types: [opened, edited]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: bubkoo/potential-duplicates@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
label: potential duplicate
exclude: |
adding
add
creating
create
icons
icon
logos
logo
missing
miss
needing
need
please
requesting
request
state: all
threshold: 0.7
comment: |
This issue is potentially a duplicate of one of the following issues:
{{#issues}}
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
{{/issues}}