stale.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # synced from @nextcloud/android-config
  2. # SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
  3. # SPDX-FileCopyrightText: 2023 Tobias Kaminsky <tobias@kaminsky.me>
  4. # SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
  5. # SPDX-License-Identifier: GPL-3.0-or-later
  6. name: 'Close stale issues'
  7. on:
  8. schedule:
  9. - cron: '0 0 * * *'
  10. # Declare default permissions as read only.
  11. permissions: read-all
  12. jobs:
  13. stale:
  14. runs-on: ubuntu-latest
  15. permissions:
  16. issues: write
  17. pull-requests: write
  18. steps:
  19. - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
  20. with:
  21. days-before-stale: 28
  22. days-before-close: 14
  23. days-before-pr-close: -1
  24. only-labels: 'bug,needs info'
  25. exempt-issue-labels: 'no-stale'
  26. stale-issue-message: >-
  27. This bug report did not receive an update in the last 4 weeks.
  28. Please take a look again and update the issue with new details,
  29. otherwise the issue will be automatically closed in 2 weeks. Thank you!
  30. exempt-all-pr-milestones: true
  31. labels-to-remove-when-unstale: 'needs info'