diff --git a/.github/workflows/auto_stale_pr.yml b/.github/workflows/auto_stale_pr.yml new file mode 100644 index 00000000..f2fd6d08 --- /dev/null +++ b/.github/workflows/auto_stale_pr.yml @@ -0,0 +1,14 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days.' + days-before-stale: 5 + days-before-close: 2 \ No newline at end of file