Skip to content

Commit 472023b

Browse files
committed
Removed probot stale and added GH Action stale
1 parent b88e3f4 commit 472023b

File tree

2 files changed

+36
-41
lines changed

2 files changed

+36
-41
lines changed

.github/stale.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '36 7 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
steps:
21+
- uses: actions/stale@v5
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
days-before-stale: 60
26+
days-before-close: 7
27+
28+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
29+
30+
stale-pr-message: 'Stale pull request message'
31+
32+
stale-issue-label: 'stale-issue'
33+
stale-pr-label: 'stale-pull-request'
34+
35+
exempt-milestones: true
36+
exempt-assignees: true

0 commit comments

Comments
 (0)