diff --git a/.github/workflows/stale_issues.yml b/.github/workflows/stale_issues.yml new file mode 100644 index 000000000..83e9b0f0a --- /dev/null +++ b/.github/workflows/stale_issues.yml @@ -0,0 +1,20 @@ +name: Close stale issues + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.' + stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.' + days-before-stale: 60 + days-before-close: 7 + stale-issue-label: 'stale' + exempt-issue-labels: 'do not close' + operations-per-run: 30