Implement check_suite.rerequested action
This commit is contained in:
parent
8eeb0ecb06
commit
f1336e57bb
|
@ -25,7 +25,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 10.3.0",
|
"node": ">= 10.3.0",
|
||||||
"yarn": "1.13.x"
|
"yarn": ">= 1.13.x"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/status-im/packages-check-bot",
|
"homepage": "https://github.com/status-im/packages-check-bot",
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { checkPackageFileAsync } from './dependency-check-json'
|
||||||
const pendingChecks: any = []
|
const pendingChecks: any = []
|
||||||
|
|
||||||
export = (app: Application) => {
|
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)
|
await checkSuiteAsync(context, context.payload.check_suite)
|
||||||
})
|
})
|
||||||
app.on(['check_run.rerequested'], async (context: Context) => {
|
app.on(['check_run.rerequested'], async (context: Context) => {
|
||||||
|
|
Loading…
Reference in New Issue