Skip to content

Commit

Permalink
Merge pull request #3008 from aBurmeseDev/john-handle-stale-discussions
Browse files Browse the repository at this point in the history
chore: update auto-closing on stale discussions
  • Loading branch information
aBurmeseDev authored Aug 29, 2023
2 parents 1dcf7fc + ebb5243 commit 5487c42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/handle-stale-discussions.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: HandleStaleDiscussions
on:
schedule:
- cron: '0 */4 * * *'
- cron: "0 4 * * 1"
discussion_comment:
types: [created]

Expand All @@ -15,7 +15,9 @@ jobs:
- name: Stale discussions action
uses: aws-github-ops/handle-stale-discussions@v1
with:
# This will close stale-discussions as outdated instead of answered
close-stale-as-answered: false
# This will disable auto-closing answered discussions
close-answered-discussion: false
close-answered-discussions: false
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 5487c42

Please sign in to comment.