nextcloud-android/.github/workflows/stale.yml
Álvaro Brey Vilas f2c81a9715
stale action: Add exempt label to mark issues that shouldn't be stale automatically
We've got some issues that are open since a long time ago but aren't resolved, and  there isn't some clear short term resolution to them.
As such these isues are kept open because they still affect users, but the users have to be "fighting" the stale bot, which
understandably generates confusion and frustration.

This PR adds a specific label we can add to those issues so that the stale action will ignore them.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:36:05 +01:00

20 lines
817 B
YAML

name: 'Close stale issues'
on:
schedule:
- cron: '* */2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info/discussion'
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