Bring back the onAny handling
This commit is contained in:
2
index.ts
2
index.ts
@@ -1,7 +1,7 @@
|
|||||||
import { ApplicationFunction } from 'probot';
|
import { ApplicationFunction } from 'probot';
|
||||||
|
|
||||||
const appFn: ApplicationFunction = (app) => {
|
const appFn: ApplicationFunction = (app) => {
|
||||||
app.on('pull_request', (context) => {
|
app.onAny((context) => {
|
||||||
console.log(JSON.stringify(context.payload, null, 2));
|
console.log(JSON.stringify(context.payload, null, 2));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user