Skip to content

The only downloader you need. 下载器的集大成者。

refactor(ci): 合并 needs-info-close 到 stale workflow

XiaoYouChRd6872802f03c
diff --git a/.github/workflows/needs-info-close.yml b/.github/workflows/needs-info-close.yml
deleted file mode 100644
index a090ca06..00000000
--- a/.github/workflows/needs-info-close.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: Needs Info Close
-on:
- schedule:
- - cron: '0 2 * * *'
-
-jobs:
- close-needs-info:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/stale@v11
- with:
- only-labels: '🔍needs-info'
- days-before-stale: -1
- days-before-close: 10
- close-issue-message: >-
- 此 issue 因等待补充信息超过 10 天未收到回复而被自动关闭。
- 如果问题仍然存在,请补充所需信息后重新打开。
- close-issue-reason: not_planned
- days-before-pr-stale: -1
- days-before-pr-close: -1
- operations-per-run: 50
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 4d8d196a..431a7de2 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -7,6 +7,19 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
+ - uses: actions/stale@v11
+ with:
+ only-labels: '🔍needs-info'
+ days-before-stale: -1
+ days-before-close: 10
+ close-issue-message: >-
+ 此 issue 因等待补充信息超过 10 天未收到回复而被自动关闭。
+ 如果问题仍然存在,请补充所需信息后重新打开。
+ close-issue-reason: not_planned
+ days-before-pr-stale: -1
+ days-before-pr-close: -1
+ operations-per-run: 50
+
- uses: actions/stale@v11
with:
days-before-stale: 30