Update stale.yaml

Adding stale checks to issues
This commit is contained in:
Jon Janego
2024-02-20 10:25:09 -06:00
committed by GitHub
parent 587ff57efd
commit a1be843151
+5 -4
View File
@@ -1,6 +1,7 @@
name: Close stale PRs name: Close stale PRs and Issues
permissions: permissions:
issues: write
pull-requests: write pull-requests: write
on: on:
@@ -12,14 +13,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/[email protected] - uses: actions/[email protected]
name: Clean up stale PRs name: Clean up stale PRs and Issues
with: with:
stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `Keep` label to hold stale off permanently, or do nothing. If you do nothing, this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details." stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `Keep` label to hold stale off permanently, or do nothing. If you do nothing, this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details."
stale-pr-label: "Stale" stale-pr-label: "Stale"
exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale
days-before-pr-stale: 180 # when the PR is considered stale days-before-pr-stale: 180 # when the PR is considered stale
days-before-pr-close: 15 # when the PR is closed by the bot, days-before-pr-close: 15 # when the PR is closed by the bot,
days-before-issue-stale: -1 # prevents issues from being tagged by the bot days-before-issue-stale: 180 # prevents issues from being tagged by the bot
days-before-issue-close: -1 # prevents issues from being closed by the bot days-before-issue-close: 15 # prevents issues from being closed by the bot
exempt-assignees: 'advanced-security-dependency-graph' exempt-assignees: 'advanced-security-dependency-graph'
ascending: true ascending: true