...
1name: Stale bot
2
3on:
4 workflow_dispatch:
5 schedule:
6 - cron: "44 */2 * * *"
7
8permissions:
9 contents: read
10
11jobs:
12 stale:
13 runs-on: ubuntu-latest
14 permissions:
15 issues: write
16 pull-requests: write
17
18 steps:
19 - uses: actions/stale@v8
20 with:
21 repo-token: ${{ secrets.GITHUB_TOKEN }}
22 days-before-stale: 6
23 days-before-close: 7
24 only-labels: 'Status: Requires Reporter Clarification'
25 stale-issue-label: 'stale'
26 stale-pr-label: 'stale'
27 operations-per-run: 999
28 stale-issue-message: >
29 This issue is labeled as requiring an update from the reporter, and no update has been received
30 after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed.
31 stale-pr-message: >
32 This PR is labeled as requiring an update from the reporter, and no update has been received
33 after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed.
View as plain text