-
Notifications
You must be signed in to change notification settings - Fork 174
[DO NOT MERGE] Create stale_issues.yaml #5366
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
Open
mjeffryes
wants to merge
5
commits into
master
Choose a base branch
from
mjeffryes-patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6320255
Create stale_issues.yaml
mjeffryes bf56923
Update .github/workflows/stale_issues.yaml
mjeffryes 506b138
Update .github/workflows/stale_issues.yaml
mjeffryes 6789244
Update .github/workflows/stale_issues.yaml
mjeffryes 2d4303d
Apply suggestions from code review
mjeffryes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: "Comment on stale issues" | ||
|
|
||
| # Controls when the action will run. | ||
| on: | ||
| pull_request: {} # for testing only | ||
| #schedule: | ||
| # - cron: "46 4 * * *" # run once per day | ||
|
|
||
| jobs: | ||
| cleanup: | ||
| runs-on: ubuntu-latest | ||
| name: Stale issue job | ||
| steps: | ||
| - uses: aws-actions/stale-issue-cleanup@5650b49bcd757a078f6ca06c373d7807b773f9bc #v7.1.0 | ||
| with: | ||
| issueTypes: issues # only look at issues (ignore pull-requests) | ||
|
|
||
| # Setting messages to an empty string causes the automation to skip that category | ||
| ancient-issue-message: "Unfortunately, it looks like this issue hasn't seen any updates in a while. If you're still experiencing this issue, could you leave a quick comment to let us know so we can prioritize it?" | ||
| ancient-pr-message: "" | ||
| stale-issue-message: "" | ||
| stale-pr-message: "" | ||
|
|
||
| # These labels are required | ||
| stale-issue-label: awaiting-feedback # somewhat confusingly, this is also used for when labeling "ancient" issues | ||
| exempt-issue-labels: kind/enhancement,kind/task,kind/epic,kind/engineering # only run on kind/bug for now | ||
mjeffryes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| stale-pr-label: no-pr-activity # unused because we aren't processing PRs | ||
| exempt-pr-labels: awaiting-approval # unused because we aren't processing PRs | ||
| response-requested-label: response-requested # unused because we don't set a "stale-issue-message" above | ||
|
|
||
| # Issue timing | ||
| days-before-close: 10000 # this action lacks the option not to close, so just set this indefinitly far in the future | ||
| days-before-ancient: 180 # 6 months | ||
|
|
||
| # If you don't want to mark a issue as being ancient based on a | ||
| # threshold of "upvotes", you can set this here. An "upvote" is | ||
| # the total number of +1, heart, hooray, and rocket reactions | ||
| # on an issue. | ||
| minimum-upvotes-to-exempt: 2 | ||
|
|
||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| loglevel: DEBUG | ||
|
|
||
| # Set dry-run to true to not perform label or close actions. | ||
| dry-run: true | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.