-
Notifications
You must be signed in to change notification settings - Fork 42
28 lines (27 loc) · 1.4 KB
/
stalebot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-FileCopyrightText: Copyright 2023 The Minder Authors
# SPDX-License-Identifier: Apache-2.0
# This action closes stale issues and PRs that have had no activity for a period of time.
# Issues:
# All issues labeled with "waiting-for-feedback" are covered by this check.
# The label should be manually added when there's additional information requested from the author (or someone else)
# that is needed for triaging.
# PRs:
# All PRs are covered by this check.
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
stale-issue-message: 'This issue needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.'
stale-pr-message: 'This PR needs additional information before we can continue. It is now marked as stale because it has been open for 30 days with no activity. Please provide the necessary details to continue or it will be closed in 30 days.'
any-of-issue-labels: 'waiting-for-feedback' # only issues with this label are considered for closing
days-before-stale: 30
days-before-close: 30