build: add workflow for autoclose issues without response

This commit is contained in:
calebboyd
2021-09-26 13:58:54 -05:00
parent a9811257ea
commit 37ee352408
7 changed files with 23 additions and 1 deletions
@@ -0,0 +1,21 @@
name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# 9AM Central
- cron: '0 14 * * *'
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
closeComment: 'Closed awaiting response from OP, please open a new issue with the requested information and/or examples'
daysUntilClose: 21
responseRequiredLabel: more-information-needed
+1
View File
@@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "nexe",
"version": "4.0.0-beta.18",
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -69,7 +69,7 @@ function shimFs(binary: NexeBinary, fs: any = require('fs')) {
atime: new Date(stat.atime),
mtime: new Date(stat.mtime),
ctime: new Date(stat.ctime),
birthtime: new Date(stat.birthtime)
birthtime: new Date(stat.birthtime),
}
}