| 1 |
name: Close Stale Issues |
| 2 |
|
| 3 |
on: |
| 4 |
schedule: |
| 5 |
- cron: '0 0 3 */3 *' |
| 6 |
|
| 7 |
|
| 8 |
jobs: |
| 9 |
stale: |
| 10 |
runs-on: ubuntu-latest |
| 11 |
permissions: |
| 12 |
issues: write |
| 13 |
pull-requests: write |
| 14 |
|
| 15 |
steps: |
| 16 |
- uses: actions/stale@v5 |
| 17 |
with: |
| 18 |
repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 19 |
stale-issue-message: 'This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.' |
| 20 |
close-issue-message: 'This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it.' |
| 21 |
days-before-issue-stale: 365 |
| 22 |
days-before-issue-close: 7 |
| 23 |
stale-issue-label: 'Stale' |
| 24 |
exempt-issue-labels: 'pinned,security' |
| 25 |
operations-per-run: 100 |