change stale issue and discussion handling to run once a week (#120)

This commit is contained in:
Dmitriy Musatkin
2025-08-01 10:19:31 -07:00
committed by GitHub
parent 711fa6635f
commit 10cd5e838e
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ jobs:
# chmod a+x builder # chmod a+x builder
# ./builder build -p ${{ env.PACKAGE_NAME }} --target=linux-${{ matrix.arch }} --spec=downstream # ./builder build -p ${{ env.PACKAGE_NAME }} --target=linux-${{ matrix.arch }} --spec=downstream
windows-vc16: windows:
runs-on: windows-2019 runs-on: windows-2022
defaults: defaults:
run: run:
shell: cmd # use CMD instead of powershell to catch error from bat script shell: cmd # use CMD instead of powershell to catch error from bat script
@@ -1,7 +1,7 @@
name: HandleStaleDiscussions name: HandleStaleDiscussions
on: on:
schedule: schedule:
- cron: '0 */4 * * *' - cron: "0 9 * * 1"
discussion_comment: discussion_comment:
types: [created] types: [created]
+1 -1
View File
@@ -3,7 +3,7 @@ name: "Close stale issues"
# Controls when the action will run. # Controls when the action will run.
on: on:
schedule: schedule:
- cron: "*/60 * * * *" - cron: "0 9 * * 1"
jobs: jobs:
cleanup: cleanup: