Skip to content

Commit 1bb3af1

Browse files
authored
Create stale.yml
1 parent e6b2e2a commit 1bb3af1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/stale.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: |
17+
This issue has been automatically marked as stale because it has not had
18+
recent activity. It will be closed if no further activity occurs.
19+
Thank you for your contributions.
20+
stale-pr-message: |
21+
This pull request has been automatically marked as stale because it has not had
22+
recent activity. It will be closed if no further activity occurs.
23+
Thank you for your contributions.
24+
stale-issue-label: 'stale'
25+
exempt-issue-label: 'pinned'
26+
stale-pr-label: 'stale'
27+
exempt-pr-label: 'pinned'
28+
days-before-stale: 90
29+
days-before-close: 14
30+
operations-per-run: 5

0 commit comments

Comments
 (0)