Implement check_suite.rerequested action

This commit is contained in:
Pedro Pombeiro 2019-04-08 18:28:30 +02:00
parent 8eeb0ecb06
commit f1336e57bb
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
},
"engines": {
"node": ">= 10.3.0",
"yarn": "1.13.x"
"yarn": ">= 1.13.x"
},
"homepage": "https://github.com/status-im/packages-check-bot",
"jest": {

View File

@ -12,7 +12,7 @@ import { checkPackageFileAsync } from './dependency-check-json'
const pendingChecks: any = []
export = (app: Application) => {
app.on(['check_suite.requested'], async (context: Context) => {
app.on(['check_suite.requested', 'check_suite.rerequested'], async (context: Context) => {
await checkSuiteAsync(context, context.payload.check_suite)
})
app.on(['check_run.rerequested'], async (context: Context) => {