Skip to content

Commit

Permalink
Process all issues events, not just for actions opened, closed & reop…
Browse files Browse the repository at this point in the history
…ened.
  • Loading branch information
geneh committed Nov 16, 2017
1 parent 4047492 commit ec34a75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions providers/fetcher/githubProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,17 @@ class GitHubProcessor {
if (type === 'pull_request' && action === 'synchronize') {
return false;
}
if (type === 'issues' && !['opened', 'closed', 'reopened'].includes(action)) {
return false;
}
return true;
}

_getTranslatedEventType(type) {
const eventTypes = {
deployment: 'DeploymentEvent',
deployment_status: 'DeploymentStatusEvent',
issues: 'IssuesEvent',
issue_comment: 'IssueCommentEvent',
label: 'LabelEvent',
member: 'MemberEvent',
Expand Down

0 comments on commit ec34a75

Please sign in to comment.