2022-12-16 12:37:14 +03:00
|
|
|
# synced from @nextcloud/android-config
|
2021-02-22 12:18:37 +03:00
|
|
|
name: 'Close stale issues'
|
|
|
|
on:
|
2022-06-28 11:19:29 +03:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
2021-02-22 12:18:37 +03:00
|
|
|
|
2022-06-28 11:19:29 +03:00
|
|
|
# Declare default permissions as read only.
|
|
|
|
permissions: read-all
|
2022-06-10 09:03:43 +03:00
|
|
|
|
2021-02-22 12:18:37 +03:00
|
|
|
jobs:
|
2022-06-28 11:19:29 +03:00
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
2023-12-08 11:54:28 +03:00
|
|
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
2022-06-28 11:19:29 +03:00
|
|
|
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
|
2023-12-21 05:24:13 +03:00
|
|
|
labels-to-remove-when-unstale: 'needs info'
|