mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 07:18:24 +08:00
perf: workflows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Create Comment When Add Labels
|
||||
name: create_comment
|
||||
|
||||
on:
|
||||
issues:
|
||||
@@ -16,4 +16,4 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: |
|
||||
你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将在3天后自动关闭!
|
||||
你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将会被关闭!
|
||||
34
.github/workflows/issue_close.yml
vendored
34
.github/workflows/issue_close.yml
vendored
@@ -1,34 +0,0 @@
|
||||
name: Issue Close
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 16 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
issue-close-require:
|
||||
permissions:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: needs more info
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'close-issues'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
labels: 'need info'
|
||||
inactive-day: 3
|
||||
body: |
|
||||
由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
|
||||
|
||||
- name: invalid
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'close-issues'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
labels: 'invalid'
|
||||
inactive-day: 3
|
||||
body: |
|
||||
由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
|
||||
2
.github/workflows/issue_content_check.yml
vendored
2
.github/workflows/issue_content_check.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Issue Content Check
|
||||
name: issue_content_check
|
||||
|
||||
on:
|
||||
issues:
|
||||
|
||||
Reference in New Issue
Block a user