diff --git a/.github/workflows/issue-check-inactive.yml b/.github/workflows/issue-check-inactive.yml index 36e3096b1..f4a91fc1f 100644 --- a/.github/workflows/issue-check-inactive.yml +++ b/.github/workflows/issue-check-inactive.yml @@ -1,9 +1,9 @@ -# 规则描述:每天0点(GMT+8)执行一次,将最近7天没有活跃且非BUG的ISSUE设置标签:inactive +# 规则描述:每天凌晨3点(GMT+8)执行一次,将最近7天没有活跃且非BUG的ISSUE设置标签:inactive name: Issue Check Inactive on: schedule: - - cron: "0 3 * * *" + - cron: "0 19 * * *" env: # 设置环境变量 TZ: Asia/Shanghai #时区(设置时区可使页面中的`最近更新时间`使用时区时间) @@ -25,4 +25,4 @@ jobs: inactive-label: 'inactive' inactive-day: 7 issue-state: open - exclude-labels: 'bug' \ No newline at end of file + exclude-labels: 'bug,$exclude-empty' \ No newline at end of file diff --git a/.github/workflows/issue-close-inactive.yml b/.github/workflows/issue-close-inactive.yml index 37e9b7391..784e9284a 100644 --- a/.github/workflows/issue-close-inactive.yml +++ b/.github/workflows/issue-close-inactive.yml @@ -1,9 +1,9 @@ -# 规则描述:每天0点(GMT+8)执行一次,将最近30天没有活跃且非BUG的ISSUE关闭 +# 规则描述:每天凌晨4点(GMT+8)执行一次,将最近30天没有活跃且非BUG的ISSUE关闭 name: Issue Close Inactive on: schedule: - - cron: "0 3 * * *" + - cron: "0 20 * * *" env: # 设置环境变量 TZ: Asia/Shanghai #时区(设置时区可使页面中的`最近更新时间`使用时区时间) @@ -19,4 +19,5 @@ jobs: # token: ${{ secrets.GF_TOKEN }} labels: 'inactive' inactive-day: 30 - exclude-labels: 'bug' \ No newline at end of file + exclude-labels: 'bug,$exclude-empty' + close-reason: 'not active' \ No newline at end of file