Repository: hub4j/github-api (java)

Issue:
GHEvent is missing new events that is breaking Jenkins plugin usage
**Describe the bug**
Getting error:
```
com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHEvent` from String "merge_queue_entry": not one of the values accepted for Enum class: [GOLLUM, ALL, INTEGRATION_INSTALLATION_REPOSITORIES, META, DOWNLOAD, FORK_APPLY, CHECK_RUN, MARKETPLACE_PURCHASE, PROJECT_CARD, PUSH, PAGE_BUILD, TEAM_ADD, REPOSITORY_VULNERABILITY_ALERT, PACKAGE, DELETE, DEPLOYMENT_STATUS, WATCH, FOLLOW, ORG_BLOCK, ORGANIZATION, COMMIT_COMMENT, ISSUE_COMMENT, REPOSITORY_IMPORT, GITHUB_APP_AUTHORIZATION, CODE_SCANNING_ALERT, CHECK_SUITE, FORK, GIST, CONTENT_REFERENCE, REPOSITORY, INSTALLATION_REPOSITORIES, REPOSITORY_DISPATCH, MILESTONE, STAR, LABEL, MEMBERSHIP, SECURITY_ADVISORY, PROJECT_COLUMN, TEAM, PULL_REQUEST_REVIEW, RELEASE, PUBLIC, WORKFLOW_RUN, STATUS, PULL_REQUEST, PROJECT, WORKFLOW_DISPATCH, CREATE, MEMBER, REGISTRY_PACKAGE, INSTALLATION, DEPLOYMENT, PULL_REQUEST_REVIEW_COMMENT, DEPLOY_KEY, PING, ISSUES]
 at [Source: (String)"[{"id":......
```

When trying to connect to github app from jenkins.

**To Reproduce**
1. Set up Jenkins Github App
2. No event subscriptions are needed as this occurs even when nothing is selected
3. Start creating a new Github App Credential in jenkins 
4. Once all the fields are set hit `Test` to test the connection 
5. It should fail with the above error

**Expected behavior**
Jenkins Github App Connectivity should work with new events

**Desktop (please complete the following information):**
 - OS: iOS
 - Browser chrome
 - Version latest

**Additional context**
Create this PR with possible fix and more info https://github.com/hub4j/github-api/pull/1233

Creating this issue as I was unsure if the PR was enough and also for visibility 


Pull request:
Update GHEvent.java
# Description

Seems we are rehashing this issue: https://issues.jenkins.io/browse/JENKINS-63348

Which was fixed by @bitwiseman with this https://github.com/hub4j/github-api/pull/911

I'm similarly adding `Pull request review thread` and `Merge queue entry` events to avoid breaking auth as unlike the previous ticket unsubscribing from `Merge queue entry` does not seem to work. These events seem to be new since I have found no documentation on them at [webhooks-and-events](https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads)

We just finished setting up the github app yesterday to have it break a few hrs later with the merge event error so I assume some change regarding that event was released at that time.

Idk if its possible to get this change merged and pushed through to a new version of github-api-plugin but our jenkins integration setup is currently blocked by this. Please let me know if there is anything I can do to help move this along.

Thanks you!

# Before submitting a PR:
We love getting PRs, but we hate asking people for the same basic changes every time.

- [x] Push your changes to a branch other than `main`. Create your PR from that branch.
- [x] Add JavaDocs and other comments
- [x] Write tests that run and pass in CI. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to capture snapshot data.
- [x] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.

# When creating a PR: 

- [x] Fill in the "Description" above.
- [x] Enable "Allow edits from maintainers".

Closes #1234 

Patch:
diff --git a/src/main/java/org/kohsuke/github/GHEvent.java b/src/main/java/org/kohsuke/github/GHEvent.java
index a8c3b245b..12f408be0 100644
--- a/src/main/java/org/kohsuke/github/GHEvent.java
+++ b/src/main/java/org/kohsuke/github/GHEvent.java
@@ -38,6 +38,7 @@ public enum GHEvent {
     MARKETPLACE_PURCHASE,
     MEMBER,
     MEMBERSHIP,
+    MERGE_QUEUE_ENTRY,
     META,
     MILESTONE,
     ORGANIZATION,
@@ -52,6 +53,7 @@ public enum GHEvent {
     PULL_REQUEST,
     PULL_REQUEST_REVIEW,
     PULL_REQUEST_REVIEW_COMMENT,
+    PULL_REQUEST_REVIEW_THREAD,
     PUSH,
     REGISTRY_PACKAGE,
     RELEASE,


Test patch:
diff --git a/src/test/java/org/kohsuke/github/EnumTest.java b/src/test/java/org/kohsuke/github/EnumTest.java
index 605d1c728..a457bfda2 100644
--- a/src/test/java/org/kohsuke/github/EnumTest.java
+++ b/src/test/java/org/kohsuke/github/EnumTest.java
@@ -27,7 +27,7 @@ public class EnumTest extends AbstractGitHubWireMockTest {
 
         assertThat(GHDirection.values().length, equalTo(2));
 
-        assertThat(GHEvent.values().length, equalTo(60));
+        assertThat(GHEvent.values().length, equalTo(62));
         assertThat(GHEvent.ALL.symbol(), equalTo("*"));
         assertThat(GHEvent.PULL_REQUEST.symbol(), equalTo(GHEvent.PULL_REQUEST.toString().toLowerCase()));