forked from recloudstream/cloudstream
[skip ci] fix issue workflow
This commit is contained in:
parent
bc30f40211
commit
b18211ba55
1 changed files with 3 additions and 10 deletions
11
.github/workflows/issue-action.yml
vendored
11
.github/workflows/issue-action.yml
vendored
|
@ -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"
|
|
Loading…
Reference in a new issue