Skip to content

Commit

Permalink
Merge pull request #1726 from felipefrancisco/support-merge-group-event
Browse files Browse the repository at this point in the history
feat: Support `merge_group` events
  • Loading branch information
bitwiseman authored Oct 13, 2023
2 parents 03e9acd + a42f54e commit 8014bec
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 8014bec

Please sign in to comment.