Skip to content

Commit ec653be

Browse files
committed
stale issues
1 parent 28fce4c commit ec653be

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Close stale issues and PRs"
2+
3+
on: [workflow_dispatch]
4+
# schedule:
5+
# # Every day at 00:00
6+
# - cron: "0 0 * * *"
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/[email protected]
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
stale-issue-message: 'This issue had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity.'
16+
stale-issue-label: 'stale'
17+
exempt-issue-labels: 'bug,enhancement,Priority P0,Priority P1,Priority P2'
18+
stale-pr-message: 'This pull request had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity.'
19+
stale-pr-label: 'stale'
20+
days-before-stale: 180
21+
days-before-close: 14

0 commit comments

Comments
 (0)