-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (30 loc) · 1005 Bytes
/
Copy pathclose_inactive_issues.yml
File metadata and controls
33 lines (30 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Close inactive issues
on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: read
jobs:
close-inactive-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ github.token }}
days-before-issue-stale: 23
days-before-issue-close: 7
stale-issue-label: stale
stale-issue-message: >
This issue has had no activity for 23 days. It will be
automatically closed in 7 days unless there is new activity.
close-issue-message: >
This issue was automatically closed after 30 days without
activity. If the problem still exists, please reopen it or
create a new issue with updated information.
close-issue-reason: not_planned
exempt-issue-labels: pinned,security,confirmed-bug
days-before-pr-stale: -1
days-before-pr-close: -1