Skip to content

Commit 3d7704f

Browse files
authored
Add config details for the stale action (#3870)
1 parent 83a24cb commit 3d7704f

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

.github/workflows/stale.yml

+25-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
1-
name: Mark stale issues and pull requests
1+
name: Mark/Close stale issues and pull requests
22
on:
33
schedule:
4-
- cron: "0 0 * * *"
4+
- cron: "0 * * * *" # Run every hour
55
jobs:
66
stale:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/stale@v3
10-
with:
11-
repo-token: ${{ secrets.GITHUB_TOKEN }}
12-
stale-issue-message: >
13-
Please reopen this issue once you add more information and updates here.
14-
If this is not the case and you need some help, feel free to seek help
15-
from our [Gitter](https://gitter.im/TheAlgorithms) or ping one of the
16-
reviewers. Thank you for your contributions!
17-
stale-pr-message: >
18-
Please reopen this pull request once you commit the changes requested
19-
or make improvements on the code. If this is not the case and you need
20-
some help, feel free to seek help from our [Gitter](https://gitter.im/TheAlgorithms)
21-
or ping one of the reviewers. Thank you for your contributions!
22-
stale-issue-label: 'no-issue-activity'
23-
stale-pr-label: 'no-pr-activity'
9+
- uses: actions/stale@v3
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
days-before-stale: 30
13+
days-before-close: 7
14+
stale-issue-message: >
15+
This issue has been automatically marked as stale because it has not had
16+
recent activity. It will be closed if no further activity occurs. Thank you
17+
for your contributions.
18+
close-issue-message: >
19+
Please reopen this issue once you add more information and updates here.
20+
If this is not the case and you need some help, feel free to seek help
21+
from our [Gitter](https://gitter.im/TheAlgorithms) or ping one of the
22+
reviewers. Thank you for your contributions!
23+
stale-pr-message: >
24+
This pull request has been automatically marked as stale because it has not had
25+
recent activity. It will be closed if no further activity occurs. Thank you
26+
for your contributions.
27+
close-pr-message: >
28+
Please reopen this pull request once you commit the changes requested
29+
or make improvements on the code. If this is not the case and you need
30+
some help, feel free to seek help from our [Gitter](https://gitter.im/TheAlgorithms)
31+
or ping one of the reviewers. Thank you for your contributions!

0 commit comments

Comments
 (0)