mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
[skip ci] update issue-action.yml
This commit is contained in:
parent
f0c6c20817
commit
1c6a74269f
1 changed files with 9 additions and 1 deletions
10
.github/workflows/issue-action.yml
vendored
10
.github/workflows/issue-action.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
token: ${{ steps.generate_token.outputs.token }}
|
token: ${{ steps.generate_token.outputs.token }}
|
||||||
filter-threshold: 0.5
|
filter-threshold: 0.5
|
||||||
title-excludes: ''
|
title-excludes: ''
|
||||||
comment-title: '### Your issue looks similar to these issues. Please close if duplicate:'
|
comment-title: '### Your issue looks similar to these issues:.\n\nPlease 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/emoji-helper@v1.0.0
|
uses: actions-cool/emoji-helper@v1.0.0
|
||||||
|
@ -28,3 +28,11 @@ jobs:
|
||||||
type: 'issue'
|
type: 'issue'
|
||||||
token: ${{ steps.generate_token.outputs.token }}
|
token: ${{ steps.generate_token.outputs.token }}
|
||||||
emoji: 'eyes'
|
emoji: 'eyes'
|
||||||
|
- name: Automatically close issues that dont follow the issue template
|
||||||
|
uses: lucasbento/auto-close-issues@v1.0.2
|
||||||
|
with:
|
||||||
|
github-token: ${{ steps.generate_token.outputs.token }}
|
||||||
|
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template."
|
||||||
|
losed-issues-label: "invalid"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue