stale.yml
1name: Mark stale issues and pull requests
2
3on:
4 schedule:
5 - cron: "0 0 * * *"
6
7jobs:
8 stale:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions/stale@v8
12 with:
13 repo-token: ${{ secrets.GITHUB_TOKEN }}
14 stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
15 stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
16 stale-issue-label: 'stale'
17 stale-pr-label: 'stale'
18 days-before-stale: 60
19 days-before-close: 7
20 exempt-issue-labels: 'pinned,security,enhancement'
21 exempt-pr-labels: 'pinned,security,dependencies'