Skip to content

Commit

Permalink
Updated github merged property with github descr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaume Florez committed Jan 9, 2017
1 parent 87da6a1 commit 213d43f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hookshub/hooks/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ def repo_full_name(self):
@property
def merged(self):
"""
From: https://developer.github.com/v3/activity/events/types/#pullrequestevent
If the action is "closed" and the merged key is true,
the pull request was merged.
:return: Gets the merged state of a PR from the hook's payload
:rtype: Bool
"""
Expand Down

0 comments on commit 213d43f

Please sign in to comment.