Activate stale (#3898)

* Update stale.yml

Update pr text
Schedule action 3 times a day

* Delete old .github/stale.yml

* Set exempt-all-milestones to true in stale.yml
This commit is contained in:
Woody 2024-04-13 19:37:49 +02:00 committed by GitHub
parent 8358272b9a
commit a418cd2a2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 23 deletions

20
.github/stale.yml vendored
View File

@ -1,20 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 120
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- keep
- enhancement
- confirmed
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hey! This issue has been open for quite some time without any new comments now.
It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED!
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

@ -1,7 +1,7 @@
name: 'Close stale issues and PRs' name: 'Close stale issues and PRs'
on: on:
schedule: schedule:
- cron: '0 12 * * *' - cron: '0 6,12,18 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -14,6 +14,7 @@ jobs:
days-before-close: 7 days-before-close: 7
exempt-issue-labels: 'pinned,keep,enhancement,confirmed' exempt-issue-labels: 'pinned,keep,enhancement,confirmed'
exempt-pr-labels: 'pinned,keep,enhancement,confirmed' exempt-pr-labels: 'pinned,keep,enhancement,confirmed'
exempt-all-milestones: true
stale-issue-message: > stale-issue-message: >
Hey! This issue has been open for quite some time without any new comments now. Hey! This issue has been open for quite some time without any new comments now.
It will be closed automatically in a week if no further activity occurs. It will be closed automatically in a week if no further activity occurs.
@ -23,5 +24,4 @@ jobs:
Hey! This pull request has been open for quite some time without any new comments now. Hey! This pull request has been open for quite some time without any new comments now.
It will be closed automatically in a week if no further activity occurs. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨ Thank you for contributing to WLED! ❤️
debug-only: true