Skip to content

Commit 7966ccd

Browse files
authored
Enable stale action (#28729)
Follows #28695 Now that the action has run successfully in debug mode ([logs](https://github.com/facebook/react/actions/runs/8532177618/job/23372921455#step:2:35)), let's enable it to persist changes. Also changes the number of operations per run from the default of 30 to 100 since we have a large backlog of issues and PRs to work through. Finally adds enhancement label as exempt from stale.
1 parent 6090cab commit 7966ccd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/stale.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
days-before-stale: 90
1717
# Number of days of inactivity before a stale issue or PR is closed
1818
days-before-close: 7
19-
# Tmp dry run setup to test new config
20-
debug-only: 'true'
19+
# Number of issues or PRs to process per day
20+
operations-per-run: 100
2121

2222
# --- Issues ---
2323
stale-issue-label: "Resolution: Stale"
@@ -30,7 +30,7 @@ jobs:
3030
close-issue-message: >
3131
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!
3232
# 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"
33+
exempt-issue-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request,Type: Enhancement"
3434

3535
# --- PRs ---
3636
stale-pr-label: "Resolution: Stale"
@@ -43,4 +43,4 @@ jobs:
4343
close-pr-message: >
4444
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!
4545
# 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"
46+
exempt-pr-labels: "Partner,React Core Team,Resolution: Backlog,Type: Bug,Type: Discussion,Type: Needs Investigation,Type: Regression,Type: Feature Request,Type: Enhancement"

0 commit comments

Comments
 (0)