diff --git a/.github/maintenance.yaml b/.github/maintenance.yaml new file mode 100644 index 000000000..a4596eee4 --- /dev/null +++ b/.github/maintenance.yaml @@ -0,0 +1,19 @@ +name: Maintenance + +on: + schedule: + - cron: '30 1 * * *' # 8:30am everyday in PAST + workflow_dispatch: + +jobs: + close-stale-issues: + runs-on: ubuntu-latest + steps: + - name: Close Stale Issues + uses: actions/stale@v5.0.0 + with: + days-before-issue-stale: 30 + days-before-pr-stale: 90 + permissions: + issues: write + pull-requests: write