Skip to content

Commit 71993f0

Browse files
authored
chore: added stale to github actions
1 parent d82ce16 commit 71993f0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: '39 9 * * *'
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
steps:
16+
- uses: actions/[email protected]
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
20+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
21+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
22+
stale-issue-label: 'no-issue-activity'
23+
stale-pr-label: 'no-pr-activity'
24+
days-before-stale: 30
25+
days-before-pr-stale: 30
26+
days-before-close: 5
27+
days-before-pr-close: 10
28+
exempt-assignees: 'gorhom'

0 commit comments

Comments
 (0)