Skip to content

Commit fcafcef

Browse files
authored
Update close-stale-issues-prs.yml (#26282)
1 parent 74f07e8 commit fcafcef

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/close-stale-issues-prs.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,9 @@ jobs:
1818
uses: actions/stale@v4
1919
with:
2020
repo-token: ${{ secrets.GITHUB_TOKEN }}
21-
# Messages for issues (mention the issue author)
22-
stale-issue-message: "Hey there, this issue has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. If you need it open for longer, add the label `stale-exempt`."
23-
close-issue-message: "Hey there, this issue has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request."
24-
# Messages for pull requests (mention the PR author)
25-
stale-pr-message: "Hey there, this pull request has been automatically marked as stale because it has not had recent activity. It will be auto-closed after and additional 10 days of inactivity. If you need it open for longer, add the label `stale-exempt`."
26-
close-pr-message: "Hey there, this pull request has been automatically closed due to 45 days of inactivity. If needed, please reopen or comment and we can reevaluate your request."
27-
# Time thresholds (adjust to your policy)
21+
stale-issue-message: "Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify long-standing issues in our repo (and not used to auto-close issues)."
22+
stale-pr-message: "Hey there, we've marked this pull request as stale because there's no recent activity on it. This label is helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant)."
2823
days-before-stale: 35
29-
days-before-close: 15
24+
# setting to a negative number means they'll never be autoclosed
25+
days-before-close: -1
3026
operations-per-run: 100
31-
exempt-pr-labels: stale-exempt
32-
exempt-issues-labels: stale-exempt

0 commit comments

Comments
 (0)