Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit aae91bc

Browse files
committed
perf: workflows
1 parent da6febc commit aae91bc

2 files changed

Lines changed: 4 additions & 39 deletions

File tree

.github/workflows/create_comment.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/issue_content_check.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Add label and comment for missing snapshots
12+
- name: Add label and close issue for missing snapshots
1313
if: |
1414
contains(github.event.issue.body, 'i.gkd.li/') == false &&
1515
contains(github.event.issue.body, '.zip') == false
1616
uses: actions-cool/issues-helper@v3
1717
with:
18-
actions: add-labels,create-comment
18+
actions: add-labels,create-comment,close-issue
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020
issue-number: ${{ github.event.issue.number }}
2121
labels: 'invalid'
2222
body: |
23-
你好 ${{ github.event.issue.user.login }},检测到您没有提供快照,请补充必要的快照,不要提供截图,截图没有任何作用,快照获取方式如下图!
24-
25-
可在下方评论区补充
26-
![img](https://raw.githubusercontent.com/AIsouler/GKD_subscription/refs/heads/main/Snapshot.png)
27-
28-
- name: Add label and comment for uploading failed
29-
if: contains(github.event.issue.body, 'Uploading') == true
30-
uses: actions-cool/issues-helper@v3
31-
with:
32-
actions: add-labels,create-comment
33-
token: ${{ secrets.GITHUB_TOKEN }}
34-
issue-number: ${{ github.event.issue.number }}
35-
labels: 'invalid'
36-
body: |
37-
你好 ${{ github.event.issue.user.login }},检测到您的文件上传失败,请在上传时等待文件前面的 Uploading 消失后再提交!
38-
39-
可在下方评论区补充
23+
您好 ${{ github.event.issue.user.login }},由于您没有提供快照,此issue已被自动关闭。
4024
4125
- name: Add label and comment for inaccessible snapshot links
4226
if: contains(github.event.issue.body, 'i.gkd.li/snapshot/') == true
@@ -47,6 +31,6 @@ jobs:
4731
issue-number: ${{ github.event.issue.number }}
4832
labels: 'invalid'
4933
body: |
50-
你好 ${{ github.event.issue.user.login }},检测到您提供了他人无法访问的链接,请提供快照页面右上角生成的分享链接!
34+
您好 ${{ github.event.issue.user.login }},检测到您提供了他人无法访问的链接,请提供快照页面右上角生成的分享链接!
5135
5236
可在下方评论区补充

0 commit comments

Comments
 (0)