commit | 70e4efc68f49a9d920814ec5182ac049db2d77af | [log] [tgz] |
---|---|---|
author | Jason T. Greene <jason.greene@redhat.com> | Tue Feb 18 23:00:27 2020 -0600 |
committer | Jason T. Greene <jason.greene@redhat.com> | Tue Feb 18 23:00:27 2020 -0600 |
tree | 513a3a65f8f771e43d682c53abd7df339c13a2a1 | |
parent | beb7c0e54fcf533a777cc94eaadbcc9dffe31e6b [diff] |
Also filteer non pr and push events
diff --git a/src/main.ts b/src/main.ts index 2321b22..35ae27f 100644 --- a/src/main.ts +++ b/src/main.ts
@@ -111,7 +111,7 @@ if ( 'completed' === element.status.toString() || - !['push', 'pull_request'].includes(element.event.toString) + !['push', 'pull_request'].includes(element.event.toString()) ) { continue }