1name: 'Close stale issues and pull requests with no recent activity' 2on: 3 schedule: 4 - cron: "16 00 * * *" 5 6permissions: 7 issues: write 8 pull-requests: write 9 10jobs: 11 stale: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/stale@v4.1.0 15 16 with: 17 repo-token: ${{ secrets.GITHUB_TOKEN }} 18 stale-issue-message: 'This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note that you can always re-open a closed issue at any time.' 19 stale-pr-message: 'This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note that you can always re-open a closed pull request at any time.' 20 stale-issue-label: Stale 21 stale-pr-label: Stale 22 exempt-issue-labels: bug,enhancement 23 exempt-pr-labels: bug,enhancement 24 days-before-stale: 30 25 days-before-close: 5 26 remove-stale-when-updated: true 27 remove-issue-stale-when-updated: true 28 remove-pr-stale-when-updated: true 29