Skip to content

HandleStaleDiscussions #4091

HandleStaleDiscussions

HandleStaleDiscussions #4091

name: HandleStaleDiscussions
on:
schedule:
- cron: '0 */4 * * *'
discussion_comment:
types: [created]
jobs:
handle-stale-discussions:
name: Handle stale discussions
runs-on: ubuntu-latest
permissions:
discussions: write
steps:
- name: Stale discussions action
uses: aws-github-ops/handle-stale-discussions@v1
with:
# This will disable auto closing discussions
close-stale-as-answered: false
close-stale-as-outdated: false
close-answered-discussions: false
close-locked-discussions: false
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}