Skip to content

Commit d0c20b7

Browse files
Merge pull request #86 from rahulait/add-stale-workflow
add workflow for stale issues
2 parents 182c9a1 + e2f418c commit d0c20b7

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/stale.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Stale issues
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "21 4 * * *"
7+
8+
jobs:
9+
stale:
10+
permissions:
11+
actions: write
12+
issues: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/stale@v10
17+
with:
18+
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label.'
19+
stale-issue-label: 'lifecycle/stale'
20+
exempt-issue-labels: 'lifecycle/frozen,feature,enhancement'
21+
days-before-stale: 90
22+
close-issue-message: 'This issue was automatically closed due to inactivity.'
23+
days-before-issue-close: 30
24+
remove-stale-when-updated: true
25+
operations-per-run: 1000

0 commit comments

Comments
 (0)