mirror of https://github.com/Xhofe/alist
ci: new issue bot
parent
669ccc40a1
commit
fda4db71bf
|
@ -0,0 +1,16 @@
|
||||||
|
name: Check inactive
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 1 * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-inactive:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: check-inactive
|
||||||
|
uses: actions-cool/issues-helper@v3
|
||||||
|
with:
|
||||||
|
actions: 'check-inactive'
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
inactive-day: 30
|
|
@ -9,12 +9,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: close-issues
|
- name: close-issues
|
||||||
uses: actions-cool/issues-helper@v2
|
uses: actions-cool/issues-helper@v3
|
||||||
with:
|
with:
|
||||||
actions: 'close-issues'
|
actions: 'close-issues'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
labels: 'question'
|
labels: 'question'
|
||||||
inactive-day: 7
|
inactive-day: 7
|
||||||
|
close-reason: 'not_planned'
|
||||||
body: |
|
body: |
|
||||||
Hello @${{ github.event.issue.user.login }}, this issue was closed due to no activities in 7 days.
|
Hello @${{ github.event.issue.user.login }}, this issue was closed due to no activities in 7 days.
|
||||||
你好 @${{ github.event.issue.user.login }},此issue因超过7天未回复被关闭。
|
你好 @${{ github.event.issue.user.login }},此issue因超过7天未回复被关闭。
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
Hello @${{ github.event.issue.user.login }}, your issue is a duplicate and will be closed.
|
Hello @${{ github.event.issue.user.login }}, your issue is a duplicate and will be closed.
|
||||||
你好 @${{ github.event.issue.user.login }},你的issue是重复的,将被关闭。
|
你好 @${{ github.event.issue.user.login }},你的issue是重复的,将被关闭。
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
uses: Xhofe/issues-helper@main
|
uses: actions-cool/issues-helper@v3
|
||||||
with:
|
with:
|
||||||
actions: 'close-issue'
|
actions: 'close-issue'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
Hello @${{ github.event.issue.user.login }}, your issue is invalid and will be closed.
|
Hello @${{ github.event.issue.user.login }}, your issue is invalid and will be closed.
|
||||||
你好 @${{ github.event.issue.user.login }},你的issue无效,将被关闭。
|
你好 @${{ github.event.issue.user.login }},你的issue无效,将被关闭。
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
uses: Xhofe/issues-helper@main
|
uses: actions-cool/issues-helper@v3
|
||||||
with:
|
with:
|
||||||
actions: 'close-issue'
|
actions: 'close-issue'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: Issues Similarity Analysis
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
similarity-analysis:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: analysis
|
||||||
|
uses: actions-cool/issues-similarity-analysis@v1
|
||||||
|
with:
|
||||||
|
filter-threshold: 0.5
|
||||||
|
comment-title: '### See'
|
||||||
|
comment-body: '${index}. ${similarity} #${number}'
|
||||||
|
show-footer: false
|
||||||
|
show-mentioned: true
|
|
@ -0,0 +1,13 @@
|
||||||
|
name: Translation Helper
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened]
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
translate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions-cool/translation-helper@v1.2.0
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
Hello @${{ github.event.issue.user.login }}, this issue will not be worked on and will be closed.
|
Hello @${{ github.event.issue.user.login }}, this issue will not be worked on and will be closed.
|
||||||
你好 @${{ github.event.issue.user.login }},这不会被处理,将被关闭。
|
你好 @${{ github.event.issue.user.login }},这不会被处理,将被关闭。
|
||||||
- name: Close issue
|
- name: Close issue
|
||||||
uses: Xhofe/issues-helper@main
|
uses: actions-cool/issues-helper@v3
|
||||||
with:
|
with:
|
||||||
actions: 'close-issue'
|
actions: 'close-issue'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue