[skip ci] fix issue workflow

This commit is contained in:
Cloudburst 2022-08-20 11:04:02 +02:00 committed by GitHub
parent bc30f40211
commit b18211ba55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,15 +23,8 @@ jobs:
comment-title: '### Your issue looks similar to these issues. Please close if duplicate:' comment-title: '### Your issue looks similar to these issues. Please close if duplicate:'
comment-body: '${index}. ${similarity} #${number}' comment-body: '${index}. ${similarity} #${number}'
- name: Add eyes reaction to all issues - name: Add eyes reaction to all issues
uses: actions-cool/issues-helper@v2 uses: actions-cool/emoji-helper@v1.0.0
with: with:
actions: 'update-issue' type: 'issue'
token: ${{ steps.generate_token.outputs.token }} token: ${{ steps.generate_token.outputs.token }}
contents: 'eyes' contents: 'eyes'
- name: Remove duplicates
uses: actions-cool/issues-helper@v2
with:
actions: 'mark-duplicate'
token: ${{ steps.generate_token.outputs.token }}
close-issue: true
duplicate-command: "/d"