Skip to content

Commit f743f0b

Browse files
authored
stale: refine messages for issues and pull requests (spack#51156)
* stale: refine messages for issues and pull requests Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * Improve message for issues PRs without comments yet Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * Fold newlines into spaces, except where a blank line is found Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * stale: update messages to mention @spack/spack-releasers and Slack channel Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * stale: don't ping releasers in stalebot messages Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * stale: clarify messages for closed issues and pull requests Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> --------- Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
1 parent af7885b commit f743f0b

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

.github/workflows/stale.yaml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,37 @@ jobs:
1616
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
1717
with:
1818
# Issues configuration
19-
stale-issue-message: |
20-
This issue has been automatically marked as stale because it has not had
21-
any activity in the last 6 months. It will be closed if there is no further activity.
19+
stale-issue-message: >
20+
This issue has been automatically marked as stale because it has not had any activity in the last 6 months.
21+
It will be closed in 30 days if there is no further activity.
22+
23+
If the issue is waiting for a reply from maintainers, feel free to ping them as a reminder.
24+
If it is waiting and has no comments yet, feel free to ping `@spack/spack-releasers` or simply leave a comment saying this should not be marked stale.
25+
This will also reset the issue's stale state.
26+
2227
Thank you for your contributions!
23-
close-issue-message: |
28+
close-issue-message: >
2429
This issue was closed because it had no activity for 30 days after being marked stale.
30+
If you feel this is in error, please feel free to reopen this issue.
2531
stale-issue-label: 'stale'
2632
any-of-issue-labels: 'build-error'
2733
exempt-issue-labels: 'pinned,bug'
2834

2935
# Pull requests configuration
30-
stale-pr-message: |
31-
This pull request has been automatically marked as stale because it has not had
32-
any activity in the last 6 months. It will be closed if there is no further activity.
36+
stale-pr-message: >
37+
This pull request has been automatically marked as stale because it has not had any activity in the last 6 months.
38+
It will be closed in 30 days if there is no further activity.
39+
40+
If the pull request is waiting for a reply from reviewers, feel free to ping them as a reminder.
41+
If it is waiting and has no assigned reviewer, feel free to ping `@spack/spack-releasers` or simply leave a comment saying this should not be marked stale.
42+
This will reset the pull request's stale state.
43+
44+
To get more eyes on your pull request, you can post a link in the #pull-requests channel of the Spack Slack.
45+
3346
Thank you for your contributions!
34-
close-pr-message: |
47+
close-pr-message: >
3548
This pull request was closed because it had no activity for 30 days after being marked stale.
49+
If you feel this is in error, please feel free to reopen this pull request.
3650
stale-pr-label: 'stale'
3751
any-of-pr-labels: 'new-package,update-package'
3852
exempt-pr-labels: 'pinned'

0 commit comments

Comments
 (0)