1
+# Configuration for stale action workflow - https://github.com/actions/stale
2
+name: 'Manage stale issues and PRs'
3
+on:
4
+ schedule:
5
+ # Run daily at 2AM
6
+ - cron: '0 2 * * *'
7
+
8
+jobs:
9
+ stale:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/stale@v9
13
+ with:
14
+ # --- Issues & PRs ---
15
+ # Number of days of inactivity before an issue or PR becomes stale
16
+ days-before-stale: 90
17
+ # Number of days of inactivity before a stale issue or PR is closed
18
+ days-before-close: 7
19
+ # Tmp dry run setup to test new config
20
+ debug-only: 'true'
21
+
22
+ # --- Issues ---
23
+ stale-issue-label: "Resolution: Stale"
24
+ # Comment to post when marking an issue as stale
25
+ stale-issue-message: >
26
+ This issue has been automatically marked as stale.
27
+ **If this issue is still affecting you, please leave any comment** (for example, "bump"), and we'll keep it open.
28
+ 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!
29
+ # Comment to post when closing a stale issue
30
+ close-issue-message: >
31
+ Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
32
+ # Issues with these labels will never be considered stale
33
+ exempt-issue-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request"
34
+
35
+ # --- PRs ---
36
+ stale-pr-label: "Resolution: Stale"
37
+ # Comment to post when marking a pull request as stale
38
+ stale-pr-message: >
39
+ This pull request has been automatically marked as stale.
40
+ **If this pull request is still relevant, please leave any comment** (for example, "bump"), and we'll keep it open.
41
+ We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.
42
+ # Comment to post when closing a stale pull request
43
+ close-pr-message: >
44
+ Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!
45
+ # PRs with these labels will never be considered stale
46
+ exempt-pr-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request"
\ No newline at end of file