Skip to content

Commit e80cd2d

Browse files
change stale issue and discussion handling to run once a week (#529)
1 parent ce0d656 commit e80cd2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/handle-stale-discussions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: HandleStaleDiscussions
22
on:
33
schedule:
4-
- cron: '0 */4 * * *'
4+
- cron: "0 9 * * 1"
55
discussion_comment:
66
types: [created]
77

@@ -15,4 +15,4 @@ jobs:
1515
- name: Stale discussions action
1616
uses: aws-github-ops/handle-stale-discussions@v1
1717
env:
18-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
18+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/stale_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Close stale issues"
33
# Controls when the action will run.
44
on:
55
schedule:
6-
- cron: "*/60 * * * *"
6+
- cron: "0 9 * * 1"
77

88
jobs:
99
cleanup:

0 commit comments

Comments
 (0)