1name: 'Close stale issues and pull requests' 2description: 'Close issues and pull requests with no recent activity' 3on: 4 schedule: 5 - cron: "15 00 * * *" 6 7jobs: 8 stale: 9 runs-on: ubuntu-latest 10 steps: 11 - uses: actions/stale@v3.0.7 12 13 with: 14 repo-token: ${{ secrets.GITHUB_TOKEN }} 15 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.' 16 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 issue at any time.' 17 stale-issue-label: Stale 18 stale-pr-label: Stale 19 exempt-issue-labels: bug,enhancement 20 exempt-pr-labels: bug,enhancement 21 days-before-stale: 30 22 days-before-close: 5 23 remove-stale-when-updated: true 24