Skip to content

Commit

Permalink
[repo] update stale automation to inspect issues (#5787)
Browse files Browse the repository at this point in the history
Co-authored-by: Mikel Blanchard <[email protected]>
  • Loading branch information
TimothyMothra and CodeBlanch authored Aug 15, 2024
1 parent 5a0b686 commit 5f13315
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
# Github Actions Stale: https://github.com/actions/stale

name: "Close stale pull requests"
name: "Manage stale issues and pull requests"
on:
schedule:
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub
Expand All @@ -12,10 +12,14 @@ jobs:
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day.'
close-issue-message: 'Closed as inactive. Feel free to reopen if this issue is still a concern.'
stale-pr-message: 'This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
operations-per-run: 400
days-before-pr-stale: 7
days-before-issue-stale: -1
days-before-issue-stale: 1200
days-before-pr-close: 7
days-before-issue-close: -1
days-before-issue-close: 7
exempt-all-issue-milestones: true
exempt-issue-labels: need-runtime-change,await-spec,help wanted,needs-triage

0 comments on commit 5f13315

Please sign in to comment.