Skip to content

Commit

Permalink
Merge pull request #2383 from microsoft/hanli/no-response
Browse files Browse the repository at this point in the history
Add no response GitHub actions
  • Loading branch information
Flanker32 authored Oct 8, 2023
2 parents c822503 + b5cf8e0 commit 0c22352
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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 remember to check back on issues periodically to see if contributors have responded.
# **Who does it impact**: Everyone that works on docs or docs-internal.

on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *'

jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/[email protected]
with:
token: ${{ github.token }}
daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response
responseRequiredLabel: "need more info" # Label indicating that a response from the original author is required
closeComment: >
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.

0 comments on commit 0c22352

Please sign in to comment.