diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 00000000..efa76713 --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,21 @@ +--- +name: 'Close stale issues' +on: + schedule: + - cron: '30 1 * * *' + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + 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-issue-stale: 30 + days-before-pr-stale: -1 + days-before-issue-close: 5 + days-before-pr-close: -1 + stale-issue-labe: 'stale'