|
@@ -1,23 +1,28 @@
|
|
|
+---
|
|
|
name: 'Close stale issues'
|
|
|
on:
|
|
|
- schedule:
|
|
|
- - cron: '* */2 * * *'
|
|
|
+ schedule:
|
|
|
+ - cron: '0 0 * * *'
|
|
|
|
|
|
-permissions:
|
|
|
- pull-requests: write
|
|
|
+# Declare default permissions as read only.
|
|
|
+permissions: read-all
|
|
|
|
|
|
jobs:
|
|
|
- stale:
|
|
|
- runs-on: ubuntu-latest
|
|
|
- steps:
|
|
|
- - uses: actions/stale@v5
|
|
|
- with:
|
|
|
- days-before-stale: 28
|
|
|
- days-before-close: 14
|
|
|
- days-before-pr-close: -1
|
|
|
- only-labels: 'bug,needs info/discussion'
|
|
|
- exempt-issue-labels: 'no-stale'
|
|
|
- stale-issue-message: 'This bug report did not receive an update in the last 4 weeks.
|
|
|
- Please take a look again and update the issue with new details,
|
|
|
- otherwise the issue will be automatically closed in 2 weeks. Thank you!'
|
|
|
- exempt-all-pr-milestones: true
|
|
|
+ stale:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ permissions:
|
|
|
+ issues: write
|
|
|
+ pull-requests: write
|
|
|
+ steps:
|
|
|
+ - uses: actions/stale@v5
|
|
|
+ with:
|
|
|
+ days-before-stale: 28
|
|
|
+ days-before-close: 14
|
|
|
+ days-before-pr-close: -1
|
|
|
+ only-labels: 'bug,needs info'
|
|
|
+ exempt-issue-labels: 'no-stale'
|
|
|
+ stale-issue-message: >-
|
|
|
+ This bug report did not receive an update in the last 4 weeks.
|
|
|
+ Please take a look again and update the issue with new details,
|
|
|
+ otherwise the issue will be automatically closed in 2 weeks. Thank you!
|
|
|
+ exempt-all-pr-milestones: true
|