]>
Commit | Line | Data |
---|---|---|
609c276f TL |
1 | # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. |
2 | # | |
3 | # You can adjust the behavior by modifying this file. | |
4 | # For more information, see: | |
5 | # https://github.com/actions/stale | |
6 | name: Mark stale issues and pull requests | |
7 | ||
8 | on: | |
9 | schedule: | |
10 | - cron: '31 22 * * *' | |
11 | ||
12 | jobs: | |
13 | stale: | |
14 | ||
15 | runs-on: ubuntu-latest | |
16 | permissions: | |
17 | issues: write | |
18 | pull-requests: write | |
19 | ||
20 | steps: | |
8f9d1d4d | 21 | - uses: actions/stale@v5 |
609c276f TL |
22 | with: |
23 | repo-token: ${{ secrets.GITHUB_TOKEN }} | |
24 | days-before-stale: 60 | |
25 | days-before-close: 7 | |
26 | stale-issue-message: 'Oops! It looks like we lost track of this issue. What do we want to do here? This issue will auto-close in 7 days without an update.' | |
27 | stale-pr-message: 'Oops! It looks like we lost track of this pull request. What do we want to do here? This pull request will auto-close in 7 days without an update.' | |
28 | exempt-all-assignees: true | |
29 | exempt-issue-labels: accepted | |
30 | exempt-pr-labels: accepted |