diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..8e61190142 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: 'Close Stale Issues' + +on: +schedule: +• cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC + + +jobs: +stale: +runs-on: ubuntu-latest +permissions: +issues: write +pull-requests: write + +steps: +• uses: actions/stale@v4 + +with: +repo-token: ${{ secrets.GITHUB_TOKEN }} +days-before-stale: 60 +days-before-close: 7 +stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' +close-issue-message: 'This issue has been closed due to inactivity.'