diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..ccfa8a090 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +# https://github.com/actions/stale + +name: Mark stale issues and pull requests + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'Marking Issue as stale, will be closed in 7 days if no more activity is seen' + close-issue-message: 'Closing Issue because it is marked as stale' + stale-issue-label: stale + only-labels: question,can't reproduce,Needs More Information,needs repro script,stale + exempt-issue-labels: help wanted,docs,enhancement,feature,dependencies + days-before-stale: 60 + days-before-close: 7 + remove-stale-when-updated: true