Skip to content

Mark stale issues

Mark stale issues #117

# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues
on:
schedule:
- cron: '00 11 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v8.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
close-issue-message: 'Closed as Stale due to no updates in the last 60 days'
close-issue-label: 'Stale'
any-of-labels: 'Need more info'
days-before-close: 60
remove-stale-when-updated: true
labels-to-remove-when-stale: 'Need more info'
labels-to-remove-when-unstale: 'Stale'
labels-to-add-when-unstale: 'Review'