diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml new file mode 100644 index 000000000..58ab9be07 --- /dev/null +++ b/.github/workflows/close-stale-issues.yml @@ -0,0 +1,16 @@ +name: 'Close stale issues' +on: + schedule: + - cron: '30 * * * *' +permissions: + issues: write +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + debug-only: true + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + days-before-stale: 30 + days-before-close: 5