Debian Codegraph @

.github/workflows/stale.yml

raw
1 name: "Stale"
2 on:
3 schedule:
4 - cron: "0 2 * * *"
5
6 permissions:
7 contents: read
8
9 jobs:
10 stale:
11 permissions:
12 issues: write # for actions/stale to close stale issues
13 pull-requests: write # for actions/stale to close stale PRs
14 runs-on: ubuntu-latest
15 env:
16 ACTIONS_STEP_DEBUG: true
17 steps:
18 - name: Close Stale Issues
19 uses: actions/stale@v8
20 with:
21 repo-token: ${{ secrets.GITHUB_TOKEN }}
22 stale-issue-message: "This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days"
23 days-before-stale: 360
24 days-before-close: 180
25 stale-issue-label: "status:stale"
26 exempt-issue-labels: 'type:feature,type:with reproduction steps,type:has pull request'
27 stale-pr-label: 'status:stale'
28 exempt-pr-labels: 'type:feature,type:with reproduction steps,type:has pull request'