Skip to content

Commit

Permalink
Handle (un)labeled pull request hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi committed Jun 9, 2018
1 parent 0f14c57 commit d9ab004
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public class GhprbRepository implements Saveable {

private static final transient EnumSet<GHEvent> HOOK_EVENTS = EnumSet.of(GHEvent.ISSUE_COMMENT, GHEvent.PULL_REQUEST);

private static final List<String> ALLOWED_ACTIONS = Arrays.asList("edited", "opened", "reopened", "synchronize");
private static final List<String> ALLOWED_ACTIONS = Arrays.asList("edited", "labeled", "opened", "reopened", "synchronize",
"unlabeled");

private final String reponame;

Expand Down

0 comments on commit d9ab004

Please sign in to comment.