mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 23:34:57 +08:00
chore: workflows
This commit is contained in:
19
.github/workflows/creat_comment.yml
vendored
Normal file
19
.github/workflows/creat_comment.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Create Comment When Add Labels
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create-comment:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.label.name == 'need info'
|
||||||
|
steps:
|
||||||
|
- name: Create comment
|
||||||
|
uses: actions-cool/issues-helper@v3
|
||||||
|
with:
|
||||||
|
actions: 'create-comment'
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue-number: ${{ github.event.issue.number }}
|
||||||
|
body: |
|
||||||
|
你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将在3天后自动关闭!
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Issue Close Question
|
name: Issue Close
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: actions-cool/issues-helper@v3
|
uses: actions-cool/issues-helper@v3
|
||||||
with:
|
with:
|
||||||
actions: 'close-issues'
|
actions: 'close-issues'
|
||||||
labels: 'invalid'
|
labels: 'invalid,need info'
|
||||||
inactive-day: 3
|
inactive-day: 3
|
||||||
body: |
|
body: |
|
||||||
由于该 Issue 3 天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
|
由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Issue Content Checker
|
name: Issue Content Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
Reference in New Issue
Block a user