-
Notifications
You must be signed in to change notification settings - Fork 159
36 lines (32 loc) · 1.33 KB
/
no-response.yml
File metadata and controls
36 lines (32 loc) · 1.33 KB
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
35
36
name: No Response
# **What it does**: Closes issues where the original author doesn't respond to a request for information.
# **Why we have it**: To remove the need for maintainers to check back on issues periodically to see if contributors have responded.
# **Who does it impact**: Everyone that works on this repository.
on:
schedule:
# Run once daily at midnight UTC
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Only process issues with "needs more info" label
only-labels: 'needs more info'
# Mark as stale after 14 days of inactivity
days-before-stale: 14
# Close immediately after marking as stale
days-before-close: 0
# Message when closing
close-issue-message: >
This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.
# Exempt certain labels from being closed
exempt-issue-labels: 'pinned,security'
# Only process issues, not PRs
enable-statistics: true