-
-
Notifications
You must be signed in to change notification settings - Fork 193
34 lines (32 loc) · 992 Bytes
/
response.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
29
30
31
32
33
34
name: stale
on:
schedule:
- cron: '30 1 * * *' # Run every day at 01:30
issue_comment:
jobs:
stale:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
stale-issue-message:
This has been labeled stale since a request for information has
not been answered for 30 days.
close-issue-message:
This has been closed since it has been marked stale for 30 days.
It can be reopened when the requested information is provided.
days-before-stale: 30
days-before-close: 30
any-of-labels: needs response
labels-to-remove-when-stale: needs response
remove_label:
if: github.event_name == 'issue_comment'
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-remove-labels@v1
with:
labels: needs response