Skip to content

Commit 8d09f5d

Browse files
authored
Demo no-response.yml
1 parent 8bec3d5 commit 8d09f5d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/no-response.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: No Response
2+
3+
on:
4+
workflow_dispatch:
5+
issue_comment:
6+
types: [created]
7+
schedule:
8+
- cron: '5 1 * * *'
9+
10+
jobs:
11+
noResponse:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
steps:
16+
- uses: actions/stale@v8
17+
with:
18+
debug-only: true
19+
days-before-issue-stale: 7
20+
days-before-issue-close: 7
21+
only-labels: "waiting-for-response"
22+
labels-to-remove-when-unstale: "waiting-for-response"
23+
stale-issue-message: "This issue is stale because there has been no response to a request for more information for 7 days."
24+
close-issue-message: "This issue was closed because there was no response to a request for more information for 14 days."
25+
days-before-pr-stale: -1
26+
days-before-pr-close: -1
27+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)