mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-28 00:15:48 +01:00
Make app react only to pull_request events
This commit is contained in:
parent
d979c26a8b
commit
94440669c8
4
index.ts
4
index.ts
@ -1,7 +1,9 @@
|
|||||||
import { ApplicationFunction } from 'probot';
|
import { ApplicationFunction } from 'probot';
|
||||||
|
|
||||||
const appFn: ApplicationFunction = (app) => {
|
const appFn: ApplicationFunction = (app) => {
|
||||||
app.onAny((context) => console.log(JSON.stringify(context, null, 2)));
|
app.on('pull_request', (context) =>
|
||||||
|
console.log(JSON.stringify(context, null, 2))
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export = appFn;
|
export = appFn;
|
||||||
|
Loading…
Reference in New Issue
Block a user