Skip to content

Commit 07c739d

Browse files
authored
Merge pull request #913 from DEV-DIBSTER/main
feat: adding stale workflow
2 parents 3562b85 + 0bfed31 commit 07c739d

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Stale
2+
3+
on:
4+
schedule:
5+
- cron: "0 12 * * *"
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
label:
11+
name: Label
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v3
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
days-before-stale: 3
18+
days-before-close: 7
19+
stale-issue-message: "This issue has been marked as stale due to inactivity and will be closed. Comment anything on this issue to prevent it"
20+
stale-pr-message: "This pull request has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it"
21+
exempt-issue-labels: "No-stale"
22+
exempt-pr-labels: "No-stale"

0 commit comments

Comments
 (0)