Skip to content

Update GH verification statuses enum, bump to 1.324 #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 6, 2025

Conversation

jdhayford
Copy link

@jdhayford jdhayford commented Mar 5, 2025

Description

Cherry-picks 720861e3835556a5f06b86af4385fdc24be7d465 from upstream that adds new verification status
enum's

Supports the following

BAD_CERT,
MALFORMED_SIG,
OCSP_ERROR,
OCSP_PENDING,
OCSP_REVOKED

Fixes the following

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHVerification$Reason` from String "bad_cert": not one of the values accepted for Enum class: [GPGVERIFY_ERROR, BAD_EMAIL, EXPIRED_KEY, GPGVERIFY_UNAVAILABLE, NO_USER, UNKNOWN_KEY, MALFORMED_SIGNATURE, UNSIGNED, UNKNOWN_SIGNATURE_TYPE, INVALID, NOT_SIGNING_KEY, VALID, UNVERIFIED_EMAIL]

at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 125612] (through reference chain: java.lang.Object[][29]->org.kohsuke.github.GHCommit["commit"]->org.kohsuke.github.GHCommit$ShortInfo["verification"]->org.kohsuke.github.GHVerification["reason"])
....
at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:435)
at org.kohsuke.github.GitHubClient.createResponse(GitHubClient.java:533)
at org.kohsuke.github.GitHubPageIterator.lambda$fetch$0(GitHubPageIterator.java:147)
at org.kohsuke.github.GitHubResponse.parseBody(GitHubResponse.java:104)

@jdhayford jdhayford force-pushed the update-gh-verification-statuses-enum branch 2 times, most recently from 43c46a5 to d8bd947 Compare March 5, 2025 17:20
@jdhayford jdhayford force-pushed the update-gh-verification-statuses-enum branch from d8bd947 to a50790a Compare March 5, 2025 17:21
@jdhayford jdhayford force-pushed the update-gh-verification-statuses-enum branch from 2906cf7 to 8f246b3 Compare March 5, 2025 17:25
@jdhayford jdhayford changed the title Update GH verification statuses enum Update GH verification statuses enum, bump to 1.324 Mar 5, 2025
@jdhayford jdhayford marked this pull request as ready for review March 5, 2025 17:28
@jdhayford jdhayford merged commit a56483a into main Mar 6, 2025
7 of 8 checks passed
@jdhayford jdhayford deleted the update-gh-verification-statuses-enum branch March 6, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants