Skip to content

Commit e91f209

Browse files
authored
chore: update stale-issue bot (#6528)
1 parent 221e0ed commit e91f209

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/stale_issues.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@ on:
77

88
jobs:
99
cleanup:
10+
permissions:
11+
issues: write
12+
contents: read
13+
pull-requests: write
1014
runs-on: ubuntu-latest
1115
name: Stale issue job
1216
steps:
13-
- uses: aws-actions/stale-issue-cleanup@v3
17+
- uses: aws-actions/stale-issue-cleanup@v6
1418
with:
1519
# Setting messages to an empty string will cause the automation to skip
1620
# that category
17-
ancient-issue-message: Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
1821
stale-issue-message: This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.
1922
stale-pr-message: This PR has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the PR from automatically closing.
2023
# These labels are required
@@ -31,7 +34,6 @@ jobs:
3134
# Issue timing
3235
days-before-stale: 10
3336
days-before-close: 4
34-
days-before-ancient: 365
3537

3638
# If you don't want to mark a issue as being ancient based on a
3739
# threshold of "upvotes", you can set this here. An "upvote" is

0 commit comments

Comments
 (0)