Skip to content

Commit

Permalink
Setup auto-close for stale issues
Browse files Browse the repository at this point in the history
  • Loading branch information
naveensingh committed Jan 19, 2024
1 parent 99e6325 commit a14e134
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: no-response

# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# Run daily at midnight.
- cron: '0 0 * * *'

permissions:
issues: write
pull-requests: write

jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/[email protected]
with:
token: ${{ github.token }}
# Number of days of inactivity before an issue is closed for lack of response.
daysUntilClose: 30
responseRequiredLabel: waiting for author

0 comments on commit a14e134

Please sign in to comment.