mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Replace deprecated stale bot with stale action (#17384)
The stale bot is deprecated and no longer maintained. Instead the stale GHA should be used. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
9f58f6ddbc
commit
0d513d3d85
23
.github/stale.yml
vendored
23
.github/stale.yml
vendored
@ -1,23 +0,0 @@
|
||||
# Number of days of inactivity before an issue becomes stale (two month)
|
||||
daysUntilStale: 60
|
||||
# Number of days of inactivity before a stale issue is closed (another six month)
|
||||
daysUntilClose: 180
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- security
|
||||
- "PR pending"
|
||||
# Only issues with all of these labels are checked if stale.
|
||||
onlyLabels:
|
||||
- "awaiting feedback"
|
||||
# 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: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
||||
# Limit to only `issues``
|
||||
only: issues
|
27
.github/workflows/stale-issues.yml
vendored
Normal file
27
.github/workflows/stale-issues.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: 'Stale issues check'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
name: Stale issues check
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Stale issues check
|
||||
uses: actions/stale@v9
|
||||
with:
|
||||
days-before-issue-stale: 60
|
||||
days-before-issue-close: 180
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
only-labels: 'awaiting feedback'
|
||||
stale-issue-label: 'stale'
|
||||
exempt-issue-labels: 'pinned,security,PR pending'
|
||||
stale-issue-message: >-
|
||||
This issue has been automatically marked as stale because it has not had recent activity.
|
||||
It will be closed if no further activity occurs. Thank you for your contributions.
|
Loading…
Reference in New Issue
Block a user