forked from chakra-ui/chakra-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.06 KB
/
issue-stale.yml
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
34
35
name: Issue Stale
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *"
permissions:
issues: write
pull-requests: write
actions: write
jobs:
issues:
runs-on: ubuntu-latest
if: github.repository_owner == 'chakra-ui'
steps:
- uses: actions/stale@v4
name: "Close stale issues"
with:
repo-token: ${{ secrets.SAGE_PAT }}
close-issue-message:
"This issue has been automatically closed due to inactivity. If you
believe this closure was in error, please reopen the issue or add a
comment. Thanks for your understanding.\n\nNote: This is an
automated message."
days-before-issue-close: 7
days-before-issue-stale: 30
stale-pr-label: "stale"
stale-issue-label: "stale"
days-before-pr-close: 7
days-before-pr-stale: 15
only-pr-labels:
"postpone: more info or changes requested, please add a reproduction"
exempt-issue-labels: "roadmap,feature,bug"
operations-per-run: 200