Close Stale Discussions #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Stale Discussions | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Runs every day at midnight UTC | |
jobs: | |
close-stale-discussions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close stale Q&A discussions | |
uses: steffen-karlsson/stalesweeper@v1.1.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
message: 'This discussion has automatically been closed due to inactivity.' | |
days-before-close: '30' | |
close-unanswered: 'true' | |
category: 'q-a' | |
close-reason: 'OUTDATED' | |
verbose: 'true' | |
- name: Close stale Ideas discussions | |
uses: steffen-karlsson/stalesweeper@v1.1.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
message: 'This discussion has automatically been closed due to inactivity.' | |
days-before-close: '30' | |
close-unanswered: 'true' | |
category: 'ideas' | |
close-reason: 'OUTDATED' | |
verbose: 'true' |