Skip to content

Commit

Permalink
Create no-response.yml (#697)
Browse files Browse the repository at this point in the history
Support the no-response bot.

Direct copy of the kivy/kivy one.
  • Loading branch information
Julian-O authored Nov 10, 2023
1 parent 3c7acc8 commit 063d97a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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 * * * *'

jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb
# This commit hash targets release v0.5.0 of lee-dohm/no-response.
# Targeting a commit hash instead of a tag has been done for security reasons.
# Please be aware that the commit hash specifically targets the "Automatic compilation"
# done by `github-actions[bot]` as the `no-response` Action needs to be compiled.
with:
token: ${{ github.token }}
daysUntilClose: 42
responseRequiredLabel: 'awaiting-reply'
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have the means
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.

0 comments on commit 063d97a

Please sign in to comment.