8000 Update stale.yaml · actions/dependency-review-action@a1be843 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1be843

Browse files
authored
Update stale.yaml
Adding stale checks to issues
1 parent 587ff57 commit a1be843

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/stale.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: Close stale PRs
1+
name: Close stale PRs and Issues
22

33
permissions:
4+
issues: write
45
pull-requests: write
56

67
on:
@@ -12,14 +13,14 @@ jobs:
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/stale@v9.0.0
15-
name: Clean up stale PRs
16+
name: Clean up stale PRs and Issues
1617
with:
1718
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."
1819
stale-pr-label: "Stale"
1920
exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale
2021
days-before-pr-stale: 180 # when the PR is considered stale
2122
days-before-pr-close: 15 # when the PR is closed by the bot,
22-
days-before-issue-stale: -1 # prevents issues from being tagged by the bot
23-
days-before-issue-close: -1 # prevents issues from being closed by the bot
23+
days-before-issue-stale: 180 # prevents issues from being tagged by the bot
24+
days-before-issue-close: 15 # prevents issues from being closed by the bot
2425
exempt-assignees: 'advanced-security-dependency-graph'
2526
ascending: true

0 commit comments

Comments
 (0)
0