Skip to content

Commit 9dd6da3

Browse files
authored
Adding stale bot (#319)
Marking old issue with no recent activity as stale then delete if no further activity. Signed-off-by: chadek <32199566+chadek@users.noreply.github.com>
1 parent df48848 commit 9dd6da3

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Close inactive issues
3+
'on':
4+
schedule:
5+
- cron: "55 23 * * 0" # semi-random time
6+
7+
jobs:
8+
close-issues:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- uses: actions/stale@v8
15+
with:
16+
days-before-stale: 160
17+
days-before-close: 60
18+
exempt-issue-labels: bug,pinned,security,planned
19+
exempt-pr-labels: bug,pinned,security,planned
20+
stale-issue-label: "stale"
21+
stale-pr-label: "stale"
22+
stale-issue-message: |
23+
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!
24+
25+
Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.
26+
close-issue-message: |
27+
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
28+
stale-pr-message: |
29+
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!
30+
31+
Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark this pr as stale.
32+
close-pr-message: |
33+
This pr has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)