| name: Mark stale issues and pull requests |
| |
| on: |
| schedule: |
| - cron: "0 0 * * *" |
| |
| permissions: |
| contents: read |
| |
| jobs: |
| stale: |
| |
| runs-on: ubuntu-latest |
| |
| permissions: |
| issues: write |
| pull-requests: write |
| |
| steps: |
| - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da |
| with: |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |
| stale-issue-label: 'no-issue-activity' |
| stale-pr-label: 'no-pr-activity' |
| stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' |
| stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' |
| exempt-issue-labels: 'feature,keep' |
| days-before-stale: 60 |
| days-before-close: 60 |