Skip to content

Commit 3b39203

Browse files
authored
Merge pull request #450 from jpalardy/fix-stale
Replace stale bot, use stale action
2 parents c8cfb9b + 21788ff commit 3b39203

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

.github/stale.yml

-17
This file was deleted.

.github/workflows/stale.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
# https://github.com/actions/stale
3+
name: Mark stale issues and pull requests
4+
5+
on:
6+
schedule:
7+
- cron: '5 10 * * *'
8+
9+
jobs:
10+
stale:
11+
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
pull-requests: write
16+
17+
steps:
18+
- uses: actions/stale@v9
19+
with:
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
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.'
22+
stale-pr-message: 'This PR 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.'
23+

0 commit comments

Comments
 (0)