Skip to content

Commit c871635

Browse files
authored
chore(workflow): add stale bot (lynx-family#88)
<!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> ## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [x] Documentation updated (or not required).
1 parent 163a0ed commit c871635

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "30 17 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
days-before-stale: 60
13+
days-before-issue-close: -1
14+
days-before-pr-close: -1
15+
stale-issue-message: >
16+
This issue has been automatically marked as stale because it has not had recent activity.
17+
**If this issue is still affecting you, please leave any comment** (for example, "bump").
18+
We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
19+
stale-pr-message: >
20+
This pull request has been automatically marked as stale because it has not had recent activity.
21+
**If this pull request is still relevant, please leave any comment** (for example, "bump").

0 commit comments

Comments
 (0)