stale.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  2. # SPDX-License-Identifier: MIT
  3. name: Close stale issues
  4. on:
  5. workflow_dispatch:
  6. schedule:
  7. - cron: "0 0 * * *"
  8. jobs:
  9. stale:
  10. runs-on: ubuntu-latest
  11. if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
  12. permissions:
  13. issues: write
  14. steps:
  15. - uses: actions/stale@v9
  16. with:
  17. repo-token: ${{ secrets.COMMAND_BOT_PAT }}
  18. stale-issue-message: >
  19. This issue has been automatically marked as stale because it has not had
  20. recent activity and seems to be missing some essential information.
  21. It will be closed if no further activity occurs. Thank you
  22. for your contributions.
  23. stale-issue-label: 'stale'
  24. only-labels: 'needs info'
  25. labels-to-remove-when-unstale: 'needs info,stale'
  26. exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
  27. days-before-stale: 30
  28. days-before-close: 14
  29. # debug-only: true