Skip to content

Commit cf9d9e2

Browse files
authored
chore: add more information to automatic comments on stale PRs (#33346)
### Issue # (if applicable) Closes #<issue number here>. ### Reason for this change Stale PRs get closed and an relatively new contributor may not know why its not being reviewed or what they can do to stop it from being close. ### Description of changes Adding information on how contributors can stop a stale PR from automatically closing ### Describe any new or updated permissions being added ### Description of how you validated changes ### Checklist - [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 800b775 commit cf9d9e2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,16 @@ jobs:
2323

2424
# Optional
2525
important-checks-regex: AutoBuildv2Project1C6BFA3F
26-
warn-message: This PR has been in the STATE state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week.
26+
warn-message: |
27+
This PR has been in the STATE state for 3 weeks, and looks abandoned. Note that PRs with failing linting check or builds are not reviewed, please ensure your build is passing
28+
29+
To prevent automatic closure:
30+
- Resume work on the PR
31+
- OR request an exemption by adding a comment containing 'Exemption Request' with justification e.x "Exemption Request: <justification>"
32+
- OR request clarification by adding a comment containing 'Clarification Request' with a question e.x "Clarification Request: <question>"
33+
34+
This PR will automatically close in 7 days if no action is taken.
35+
2736
close-message: This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error.
2837
skip-labels: contribution/core,pr-linter/do-not-close,pr/needs-maintainer-review,pr-linter/exemption-requested
2938
close-label: closed-for-staleness

0 commit comments

Comments
 (0)