summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@users.noreply.github.com>2022-10-07 15:28:12 +0100
committerPradyun Gedam <pradyunsg@users.noreply.github.com>2022-10-07 15:28:12 +0100
commita8716b979dde361f2042278c7a3e973be7d32598 (patch)
treefe78ba1d37939ed37e8d3ab3a1089bcb89964a02 /.github
parent21752556f1e8353dc6eec2d9154522eda950c27c (diff)
downloadpip-a8716b979dde361f2042278c7a3e973be7d32598.tar.gz
Switch to the no-response GitHub Action
The no-response bot has been turned off.
Diffstat (limited to '.github')
-rw-r--r--.github/no-response.yml11
-rw-r--r--.github/workflows/no-response.yml19
2 files changed, 19 insertions, 11 deletions
diff --git a/.github/no-response.yml b/.github/no-response.yml
deleted file mode 100644
index 47afde800..000000000
--- a/.github/no-response.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Number of days of inactivity before issue is closed for lack of response
-daysUntilClose: 15
-# Label requiring a response
-responseRequiredLabel: "S: awaiting response"
-# Comment to post when closing an Issue for lack of response. Set to `false` to disable
-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 enough information
- to take action. Please reach out if you have or find the answers we need so
- that we can investigate further.
diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml
new file mode 100644
index 000000000..939290b93
--- /dev/null
+++ b/.github/workflows/no-response.yml
@@ -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 * * * *'
+
+jobs:
+ noResponse:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: lee-dohm/no-response@v0.5.0
+ with:
+ token: ${{ github.token }}
+ responseRequiredLabel: "S: awaiting response"