Skip to content

Commit

Permalink
Create action to auto-close issues without response (#1751)
Browse files Browse the repository at this point in the history
* Create action to auto-close issues without response

This creates an action that runs daily after midnight. It will look for actions
with a given label (defaults to more-information-needed) that have not been
updated for 14 days and will close them.

* Set days to respond to 30
  • Loading branch information
zachgk authored Jun 29, 2022
1 parent 51b38b6 commit 3fbf2de
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/no_response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: No Response

# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 0 * * *'

jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
daysUntilClose: 30

0 comments on commit 3fbf2de

Please sign in to comment.