Skip to content

Commit

Permalink
Support merge_group webhooks fired by merge queues. PR created based on
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefrancisco committed Oct 13, 2023
1 parent 03e9acd commit a42f54e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/org/kohsuke/github/GHEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ public enum GHEvent {
/** The merge queue entry. */
MERGE_QUEUE_ENTRY,

/** The merge group entry. */
MERGE_GROUP,

/** The meta. */
META,

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/kohsuke/github/EnumTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void touchEnums() {

assertThat(GHDirection.values().length, equalTo(2));

assertThat(GHEvent.values().length, equalTo(64));
assertThat(GHEvent.values().length, equalTo(65));
assertThat(GHEvent.ALL.symbol(), equalTo("*"));
assertThat(GHEvent.PULL_REQUEST.symbol(), equalTo(GHEvent.PULL_REQUEST.toString().toLowerCase()));

Expand Down

0 comments on commit a42f54e

Please sign in to comment.