Skip to content

Commit db8dcbb

Browse files
authored
feat: Use the Stale workflow instead of the Stale app (#131)
1 parent 87ea67f commit db8dcbb

File tree

2 files changed

+18
-60
lines changed

2 files changed

+18
-60
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
jobs:
6+
stale:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/stale@v4
10+
with:
11+
stale-issue-message: 'This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
12+
close-issue-message: 'Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our [Gitter](https://gitter.im/TheAlgorithms) channel. Thank you for your contributions!'
13+
stale-pr-message: 'This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
14+
close-pr-message: 'Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our [Gitter](https://gitter.im/TheAlgorithms) channel. Thank you for your contributions!'
15+
exempt-issue-labels: 'dont-close,approved'
16+
exempt-pr-labels: 'dont-close,approved'
17+
days-before-stale: 30
18+
days-before-close: 7

0 commit comments

Comments
 (0)