-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create stale.yml #52
base: gh-pages
Are you sure you want to change the base?
Create stale.yml #52
Conversation
As per TAC call today creating this GH action that will mark issues and PRs as stalled if they have no comments after some period of time Signed-off-by: dr.max <[email protected]>
CC: @brian-jarvis-aws @n1ckl0sk0rtge @planetf1 @ryjones @KennyPaul for any feedback and approval to merge |
- uses: actions/stale@v5 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'Stale issue message' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stale-issue-message: 'Stale issue message' | |
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.' |
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'Stale issue message' | ||
stale-pr-message: 'Stale pull request message' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stale-pr-message: 'Stale pull request message' | |
stale-pr-message: 'This pull request has been automatically marked as stale due to lack of recent updates. It will be closed if no further activity occurs within 7 days. Please review and update if needed.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe adding more meaningful comments.
|
||
steps: | ||
- uses: actions/stale@v5 | ||
with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand the action correctly, I think some parameters are missing. According to the docs, I'd expect at least days-before-stale
and days-before-close
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the defaults for those are 60/7
Two values I've used before areexempt-pr-labels
/ exempt-issue-labels
. Though there is an argument this can be overused (it was in my previous project), so the group may prefer that this has to be done by adding an explanation as to why, and manually re-opening
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with proposed change. there are comments, but actioning imo is optional
As per TAC call today creating this GH action that will mark issues and PRs as stalled if they have no comments after some period of time