mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-10 00:43:02 +01:00
Bring back the onAny handling
This commit is contained in:
parent
d2dcc848da
commit
f348ecb8e4
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));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user