Skip to content
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

InvalidFormatException: Cannot deserialize value of type org.kohsuke.github.GHEvent from String "workflow_dispatch" #854

Closed
didier-durand opened this issue Jun 21, 2020 · 6 comments · Fixed by #874

Comments

@didier-durand
Copy link

didier-durand commented Jun 21, 2020

On retrieval of GHCheckRuns (libb version = 1.114) for a given repository, the http request works fine (http code = 200) but we get the stack trace given below: it seems that type "workflow_dispatch" is not supported among the other types given:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHEvent` from String "workflow_dispatch": 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, 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, STATUS, PULL_REQUEST, PROJECT, CREATE, MEMBER, REGISTRY_PACKAGE, INSTALLATION, DEPLOYMENT, PULL_REQUEST_REVIEW_COMMENT, DEPLOY_KEY, PING, ISSUES]

It seems that this is a new issue :
corresponding JUnit test was working fine before, IIRC.

Stack trace :

org.kohsuke.github.GHException: Failed to retrieve https://api.github.com/repos/didier-durand/helmalyzer-backend/commits/69168fa824daad67b857b982f93e2637c4cf2492/check-runs
	at org.kohsuke.github.GitHubPageIterator.fetch(GitHubPageIterator.java:155)
	at org.kohsuke.github.GitHubPageIterator.hasNext(GitHubPageIterator.java:91)
	at org.kohsuke.github.GHCheckRunsIterable$1.hasNext(GHCheckRunsIterable.java:32)
	at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:106)
	at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:74)
	at io.helmalyzer.test.backend.git.TestGithub.testListCommitsAndChekRuns(TestGithub.java:96)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:205)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:201)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:141)
	at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:98)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210)
Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: '200 OK' for URL: https://api.github.com/repos/xxxxxxxxx/yyyyyyyy-backend/commits/69168fa824daad67b857b982f93e2637c4cf2492/check-runs
	at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:464)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:384)
	at org.kohsuke.github.GitHubPageIterator.fetch(GitHubPageIterator.java:144)
	... 70 more
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHEvent` from String "workflow_dispatch": 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, 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, STATUS, PULL_REQUEST, PROJECT, CREATE, MEMBER, REGISTRY_PACKAGE, INSTALLATION, DEPLOYMENT, PULL_REQUEST_REVIEW_COMMENT, DEPLOY_KEY, PING, ISSUES]
 at [Source: (String)"{"total_count":3,"check_runs":[{"id":790281180,"node_id":"MDg6Q2hlY2tSdW43OTAyODExODA=","head_sha":"69168fa824daad67b857b982f93e2637c4cf2492","external_id":"ca395085-040a-526b-2ce8-bdc85f692774","url":"https://api.github.com/repos/xxxxxxxxx/yyyyyyyy-backend/check-runs/790281180","html_url":"https://github.com/xxxxxxxxx/yyyyyyyy-backend/runs/790281180","details_url":"https://github.com/xxxxxxxxx/yyyyyyyy-backend/runs/790281180","status":"completed","conclusion":"failure","starte"[truncated 8153 chars]; line: 1, column: 2771] (through reference chain: org.kohsuke.github.GHCheckRunsPage["check_runs"]->java.lang.Object[][0]->org.kohsuke.github.GHCheckRun["app"]->org.kohsuke.github.GHApp["events"]->java.util.ArrayList[27])
	at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67)
	at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:1676)
	at com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:932)
	at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:255)
	at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:179)
	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
	at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:138)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:369)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:159)
	at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:138)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:369)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:159)
	at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:195)
	at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:21)
	at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:138)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
	at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1719)
	at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1261)
	at org.kohsuke.github.GitHubResponse.parseBody(GitHubResponse.java:91)
	at org.kohsuke.github.GitHubPageIterator.lambda$fetch$0(GitHubPageIterator.java:145)
	at org.kohsuke.github.GitHubClient.createResponse(GitHubClient.java:425)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:376)
	... 71 more
@bitwiseman
Copy link
Member

@didier-durand

Could you turn on FINE logging level and produce this?

LOGGER.log(Level.FINE, message);

There's not enough info in the exception to know what is causing this.

@didier-durand
Copy link
Author

First, this is the unit test allowing to reproduce this issue:

   @Test
public void testListCommitsAndChekRuns() throws IOException {
	GHRepository repository = myself.getRepository(PRIVATE_REPO);
	assertNotNull(repository);
	PagedIterable<GHCommit> commits = repository.listCommits();
	int limit = 10;
	int count = 0;
	for(GHCommit commit : commits) {
		if (++count > limit ) {
			break;
		}
		System.out.println("commit sha1: " + commit.getSHA1() + " date: " + SysUtils.getPrintableDatetime(commit.getAuthoredDate(),SysUtils.TZ_PARIS));
		@SuppressWarnings("deprecation")
		PagedIterable<GHCheckRun> checkRuns = commit.getCheckRuns();
		assertNotNull(checkRuns);
		for (GHCheckRun checkRun : checkRuns) {
			System.out.println("  check run - name: " + checkRun.getName() + "conclusion: " + checkRun.getConclusion() + " - url: " + checkRun.getHtmlUrl());
			assertEquals(commit.getSHA1(),checkRun.getHeadSha());
		}
	}
}

@didier-durand
Copy link
Author

didier-durand commented Jun 24, 2020

Now, the trace at level FINE:

*** about to run test: testListCommitsAndChekRuns()
Jun 24, 2020 6:33:55 AM org.kohsuke.github.GitHubClient sendRequest
FINE: GitHub API request [helmalyzer]: GET https://api.github.com/repos/didier-durand/github-repository-name
Jun 24, 2020 6:33:55 AM sun.net.www.protocol.http.HttpURLConnection writeRequests
FINE: sun.net.www.MessageHeader@8ab78bc7 pairs: {GET /repos/didier-durand/github-repository-name HTTP/1.1: null}{Authorization: token e2e2938718b950ea1a544f98281442d176ff7f8b}{Accept-Encoding: gzip}{User-Agent: Java/11.0.7}{Host: api.github.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
Jun 24, 2020 6:33:55 AM sun.net.www.protocol.http.HttpURLConnection getInputStream0
FINE: sun.net.www.MessageHeader@5aa0dbf428 pairs: {null: HTTP/1.1 200 OK}{Date: Wed, 24 Jun 2020 04:33:55 GMT}{Content-Type: application/json; charset=utf-8}{Transfer-Encoding: chunked}{Server: GitHub.com}{Status: 200 OK}{X-RateLimit-Limit: 5000}{X-RateLimit-Remaining: 4948}{X-RateLimit-Reset: 1592975221}{Cache-Control: private, max-age=60, s-maxage=60}{Vary: Accept, Authorization, Cookie, X-GitHub-OTP}{ETag: W/"e5d77ed44611221dc4326bdfa3de0db0"}{Last-Modified: Wed, 24 Jun 2020 04:05:40 GMT}{X-OAuth-Scopes: delete:packages, read:packages, repo, write:packages}{X-Accepted-OAuth-Scopes: repo}{X-GitHub-Media-Type: unknown, github.v3}{Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset}{Access-Control-Allow-Origin: *}{Strict-Transport-Security: max-age=31536000; includeSubdomains; preload}{X-Frame-Options: deny}{X-Content-Type-Options: nosniff}{X-XSS-Protection: 1; mode=block}{Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin}{Content-Security-Policy: default-src 'none'}{Vary: Accept-Encoding, Accept, X-Requested-With}{Content-Encoding: gzip}{Vary: Accept-Encoding}{X-GitHub-Request-Id: FC8E:2711:B18F17:D13A35:5EF2D7B3}
Jun 24, 2020 6:33:55 AM org.kohsuke.github.GitHubClient sendRequest
FINE: GitHub API request [helmalyzer]: GET https://api.github.com/repos/didier-durand/github-repository-name/commits
Jun 24, 2020 6:33:55 AM sun.net.www.protocol.http.HttpURLConnection writeRequests
FINE: sun.net.www.MessageHeader@36ac8a637 pairs: {GET /repos/didier-durand/github-repository-name/commits HTTP/1.1: null}{Authorization: token e2e2938718b950ea1a544f98281442d176ff7f8b}{Accept-Encoding: gzip}{User-Agent: Java/11.0.7}{Host: api.github.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
Jun 24, 2020 6:33:56 AM sun.net.www.protocol.http.HttpURLConnection getInputStream0
FINE: sun.net.www.MessageHeader@4d9d1b6929 pairs: {null: HTTP/1.1 200 OK}{Date: Wed, 24 Jun 2020 04:33:56 GMT}{Content-Type: application/json; charset=utf-8}{Transfer-Encoding: chunked}{Server: GitHub.com}{Status: 200 OK}{X-RateLimit-Limit: 5000}{X-RateLimit-Remaining: 4947}{X-RateLimit-Reset: 1592975222}{Cache-Control: private, max-age=60, s-maxage=60}{Vary: Accept, Authorization, Cookie, X-GitHub-OTP}{ETag: W/"efacb61383a5b72ce8a2e21af67994aa"}{Last-Modified: Wed, 24 Jun 2020 04:05:25 GMT}{X-OAuth-Scopes: delete:packages, read:packages, repo, write:packages}{X-Accepted-OAuth-Scopes: }{X-GitHub-Media-Type: unknown, github.v3}{Link: <https://api.github.com/repositories/266829705/commits?page=2>; rel="next", <https://api.github.com/repositories/266829705/commits?page=5>; rel="last"}{Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset}{Access-Control-Allow-Origin: *}{Strict-Transport-Security: max-age=31536000; includeSubdomains; preload}{X-Frame-Options: deny}{X-Content-Type-Options: nosniff}{X-XSS-Protection: 1; mode=block}{Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin}{Content-Security-Policy: default-src 'none'}{Vary: Accept-Encoding, Accept, X-Requested-With}{Content-Encoding: gzip}{Vary: Accept-Encoding}{X-GitHub-Request-Id: FC8E:2711:B18F74:D13ABE:5EF2D7B3}
Jun 24, 2020 6:33:56 AM org.kohsuke.github.GitHubClient updateCoreRateLimit
FINE: Rate limit now: GHRateLimit {core {remaining=4947, limit=5000, resetDate=Wed Jun 24 07:07:02 CEST 2020}search {remaining=999999, limit=1000000, resetDate=Wed Jun 24 07:33:56 CEST 2020}graphql {remaining=999999, limit=1000000, resetDate=Wed Jun 24 07:33:56 CEST 2020}integrationManifest {remaining=999999, limit=1000000, resetDate=Wed Jun 24 07:33:56 CEST 2020}}
commit sha1: a7d29afe7cfafba5db372b2ff20ee999932c16d2 date: 2020-06-24 06:05:25.000 CEST
Jun 24, 2020 6:33:56 AM org.kohsuke.github.GitHubClient sendRequest
FINE: GitHub API request [helmalyzer]: GET https://api.github.com/repos/didier-durand/github-repository-name/commits/a7d29afe7cfafba5db372b2ff20ee999932c16d2/check-runs
Jun 24, 2020 6:33:56 AM sun.net.www.protocol.http.HttpURLConnection writeRequests
FINE: sun.net.www.MessageHeader@1af7f54a7 pairs: {GET /repos/didier-durand/github-repository-name/commits/a7d29afe7cfafba5db372b2ff20ee999932c16d2/check-runs HTTP/1.1: null}{Authorization: token e2e2938718b950ea1a544f98281442d176ff7f8b}{Accept: application/vnd.github.antiope-preview+json}{Accept-Encoding: gzip}{User-Agent: Java/11.0.7}{Host: api.github.com}{Connection: keep-alive}
Jun 24, 2020 6:33:56 AM sun.net.www.protocol.http.HttpURLConnection getInputStream0
FINE: sun.net.www.MessageHeader@6ebd78d127 pairs: {null: HTTP/1.1 200 OK}{Date: Wed, 24 Jun 2020 04:33:56 GMT}{Content-Type: application/json; charset=utf-8}{Transfer-Encoding: chunked}{Server: GitHub.com}{Status: 200 OK}{X-RateLimit-Limit: 5000}{X-RateLimit-Remaining: 4946}{X-RateLimit-Reset: 1592975221}{Cache-Control: private, max-age=60, s-maxage=60}{Vary: Accept, Authorization, Cookie, X-GitHub-OTP}{ETag: W/"a893ca8431010aab14b1d816b4bdc6f2"}{X-OAuth-Scopes: delete:packages, read:packages, repo, write:packages}{X-Accepted-OAuth-Scopes: }{X-GitHub-Media-Type: github.antiope-preview; format=json}{Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset}{Access-Control-Allow-Origin: *}{Strict-Transport-Security: max-age=31536000; includeSubdomains; preload}{X-Frame-Options: deny}{X-Content-Type-Options: nosniff}{X-XSS-Protection: 1; mode=block}{Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin}{Content-Security-Policy: default-src 'none'}{Vary: Accept-Encoding, Accept, X-Requested-With}{Content-Encoding: gzip}{Vary: Accept-Encoding}{X-GitHub-Request-Id: FC8E:2711:B19034:D13B99:5EF2D7B4}
Jun 24, 2020 6:33:56 AM org.kohsuke.github.GitHubResponse parseBody
FINE: Failed to deserialize: {"total_count":4,"check_runs":[{"id":802017510,"node_id":"MDg6Q2hlY2tSdW44MDIwMTc1MTA=","head_sha":"a7d29afe7cfafba5db372b2ff20ee999932c16d2","external_id":"ca395085-040a-526b-2ce8-bdc85f692774","url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/802017510","html_url":"https://github.com/didier-durand/github-repository-name/runs/802017510","details_url":"https://github.com/didier-durand/github-repository-name/runs/802017510","status":"in_progress","conclusion":null,"started_at":"2020-06-24T04:23:51Z","completed_at":null,"output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/802017510/annotations"},"name":"build","check_suite":{"id":834102733},"app":{"id":15368,"slug":"github-actions","node_id":"MDM6QXBwMTUzNjg=","owner":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"name":"GitHub Actions","description":"Automate your workflow from idea to production","external_url":"https://help.github.com/en/actions","html_url":"https://github.com/apps/github-actions","created_at":"2018-07-30T09:30:17Z","updated_at":"2019-12-10T19:04:12Z","permissions":{"actions":"write","checks":"write","contents":"write","deployments":"write","issues":"write","metadata":"read","packages":"write","pages":"write","pull_requests":"write","repository_hooks":"write","repository_projects":"write","security_events":"write","statuses":"write","vulnerability_alerts":"read"},"events":["check_run","check_suite","create","delete","deployment","deployment_status","fork","gollum","issues","issue_comment","label","milestone","page_build","project","project_card","project_column","public","pull_request","pull_request_review","pull_request_review_comment","push","registry_package","release","repository","repository_dispatch","status","watch","workflow_dispatch"]},"pull_requests":[]},{"id":801982365,"node_id":"MDg6Q2hlY2tSdW44MDE5ODIzNjU=","head_sha":"a7d29afe7cfafba5db372b2ff20ee999932c16d2","external_id":"ca395085-040a-526b-2ce8-bdc85f692774","url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982365","html_url":"https://github.com/didier-durand/github-repository-name/runs/801982365","details_url":"https://github.com/didier-durand/github-repository-name/runs/801982365","status":"completed","conclusion":"success","started_at":"2020-06-24T04:05:49Z","completed_at":"2020-06-24T04:08:24Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982365/annotations"},"name":"build","check_suite":{"id":834063068},"app":{"id":15368,"slug":"github-actions","node_id":"MDM6QXBwMTUzNjg=","owner":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"name":"GitHub Actions","description":"Automate your workflow from idea to production","external_url":"https://help.github.com/en/actions","html_url":"https://github.com/apps/github-actions","created_at":"2018-07-30T09:30:17Z","updated_at":"2019-12-10T19:04:12Z","permissions":{"actions":"write","checks":"write","contents":"write","deployments":"write","issues":"write","metadata":"read","packages":"write","pages":"write","pull_requests":"write","repository_hooks":"write","repository_projects":"write","security_events":"write","statuses":"write","vulnerability_alerts":"read"},"events":["check_run","check_suite","create","delete","deployment","deployment_status","fork","gollum","issues","issue_comment","label","milestone","page_build","project","project_card","project_column","public","pull_request","pull_request_review","pull_request_review_comment","push","registry_package","release","repository","repository_dispatch","status","watch","workflow_dispatch"]},"pull_requests":[]},{"id":801982257,"node_id":"MDg6Q2hlY2tSdW44MDE5ODIyNTc=","head_sha":"a7d29afe7cfafba5db372b2ff20ee999932c16d2","external_id":"Jv+BAwEBCkV4dGVybmFsSUQB/4IAAQEBCVRyaWdnZXJJRAEMAAAAKf+CASQ1ZDY3NjI4OC1mNmRhLTRjZDktOTM1Yi05OWE2NjNkZTg4MGEA","url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982257","html_url":"https://github.com/didier-durand/github-repository-name/runs/801982257","details_url":"https://console.cloud.google.com/cloud-build/triggers/edit/5d676288-f6da-4cd9-935b-99a663de880a?project=697176778682","status":"completed","conclusion":"neutral","started_at":"2020-06-24T04:05:39Z","completed_at":"2020-06-24T04:05:39Z","output":{"title":"Summary","summary":"Changed files did not match file filter","text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982257/annotations"},"name":"Trigger: 5d676288-f6da-4cd9-935b-99a663de880a","check_suite":{"id":834063042},"app":{"id":10529,"slug":"google-cloud-build","node_id":"MDM6QXBwMTA1Mjk=","owner":{"login":"GoogleCloudBuild","id":38220399,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjIwMzk5","avatar_url":"https://avatars2.githubusercontent.com/u/38220399?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudBuild","html_url":"https://github.com/GoogleCloudBuild","followers_url":"https://api.github.com/users/GoogleCloudBuild/followers","following_url":"https://api.github.com/users/GoogleCloudBuild/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudBuild/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudBuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudBuild/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudBuild/orgs","repos_url":"https://api.github.com/users/GoogleCloudBuild/repos","events_url":"https://api.github.com/users/GoogleCloudBuild/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudBuild/received_events","type":"Organization","site_admin":false},"name":"Google Cloud Build","description":"Google Cloud Build lets you create fast, consistent, reliable builds across all languages. Automatically build containers or non-container artifacts on commits to your GitHub repository. \r\n\r\nGet complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, Serverless, Kubernetes, or Firebase.","external_url":"https://cloud.google.com/cloud-build/","html_url":"https://github.com/apps/google-cloud-build","created_at":"2018-03-29T13:50:34Z","updated_at":"2019-03-11T19:46:50Z","permissions":{"checks":"write","contents":"read","issues":"read","metadata":"read","pull_requests":"read","statuses":"write"},"events":["check_run","check_suite","commit_comment","issue_comment","label","pull_request","push"]},"pull_requests":[]},{"id":801982228,"node_id":"MDg6Q2hlY2tSdW44MDE5ODIyMjg=","head_sha":"a7d29afe7cfafba5db372b2ff20ee999932c16d2","external_id":"Jv+BAwEBCkV4dGVybmFsSUQB/4IAAQEBCVRyaWdnZXJJRAEMAAAAKf+CASQ3MjJhZGJkZi1mYjVmLTQ2NDUtODg4Ny00MjdmNmNlMDUxNDkA","url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982228","html_url":"https://github.com/didier-durand/github-repository-name/runs/801982228","details_url":"https://console.cloud.google.com/cloud-build/triggers/edit/722adbdf-fb5f-4645-8887-427f6ce05149?project=697176778682","status":"completed","conclusion":"neutral","started_at":"2020-06-24T04:05:38Z","completed_at":"2020-06-24T04:05:38Z","output":{"title":"Summary","summary":"Changed files did not match file filter","text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982228/annotations"},"name":"Trigger: 722adbdf-fb5f-4645-8887-427f6ce05149","check_suite":{"id":834063042},"app":{"id":10529,"slug":"google-cloud-build","node_id":"MDM6QXBwMTA1Mjk=","owner":{"login":"GoogleCloudBuild","id":38220399,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjIwMzk5","avatar_url":"https://avatars2.githubusercontent.com/u/38220399?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudBuild","html_url":"https://github.com/GoogleCloudBuild","followers_url":"https://api.github.com/users/GoogleCloudBuild/followers","following_url":"https://api.github.com/users/GoogleCloudBuild/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudBuild/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudBuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudBuild/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudBuild/orgs","repos_url":"https://api.github.com/users/GoogleCloudBuild/repos","events_url":"https://api.github.com/users/GoogleCloudBuild/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudBuild/received_events","type":"Organization","site_admin":false},"name":"Google Cloud Build","description":"Google Cloud Build lets you create fast, consistent, reliable builds across all languages. Automatically build containers or non-container artifacts on commits to your GitHub repository. \r\n\r\nGet complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, Serverless, Kubernetes, or Firebase.","external_url":"https://cloud.google.com/cloud-build/","html_url":"https://github.com/apps/google-cloud-build","created_at":"2018-03-29T13:50:34Z","updated_at":"2019-03-11T19:46:50Z","permissions":{"checks":"write","contents":"read","issues":"read","metadata":"read","pull_requests":"read","statuses":"write"},"events":["check_run","check_suite","commit_comment","issue_comment","label","pull_request","push"]},"pull_requests":[]}]}
*** completed execution of test: testListCommitsAndChekRuns()

@bitwiseman
Copy link
Member

bitwiseman commented Jul 1, 2020

@didier-durand Thanks!

After formatting the message it is easy to see where the failure is occurring - check_runs[0].app.events.

      "events": ["check_run", "check_suite", "create", "delete", "deployment", "deployment_status", "fork", "gollum", "issues", "issue_comment", "label", "milestone", "page_build", "project", "project_card", "project_column", "public", "pull_request", "pull_request_review", "pull_request_review_comment", "push", "registry_package", "release", "repository", "repository_dispatch", "status", "watch", "workflow_dispatch"]

This is present because this webhook event type is present and checked for the app.

Screen Shot 2020-07-01 at 3 38 10 PM

As a short-term workaround, you could uncheck this box for your app.

The basic fix is to add this to the list of allowed events.

The full message in formatted form:

{
  "total_count": 4,
  "check_runs": [{
    "id": 802017510,
    "node_id": "MDg6Q2hlY2tSdW44MDIwMTc1MTA=",
    "head_sha": "a7d29afe7cfafba5db372b2ff20ee999932c16d2",
    "external_id": "ca395085-040a-526b-2ce8-bdc85f692774",
    "url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/802017510",
    "html_url": "https://github.com/didier-durand/github-repository-name/runs/802017510",
    "details_url": "https://github.com/didier-durand/github-repository-name/runs/802017510",
    "status": "in_progress",
    "conclusion": null,
    "started_at": "2020-06-24T04:23:51Z",
    "completed_at": null,
    "output": {
      "title": null,
      "summary": null,
      "text": null,
      "annotations_count": 0,
      "annotations_url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/802017510/annotations"
    },
    "name": "build",
    "check_suite": {
      "id": 834102733
    },
    "app": {
      "id": 15368,
      "slug": "github-actions",
      "node_id": "MDM6QXBwMTUzNjg=",
      "owner": {
        "login": "github",
        "id": 9919,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
        "avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github",
        "html_url": "https://github.com/github",
        "followers_url": "https://api.github.com/users/github/followers",
        "following_url": "https://api.github.com/users/github/following{/other_user}",
        "gists_url": "https://api.github.com/users/github/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github/subscriptions",
        "organizations_url": "https://api.github.com/users/github/orgs",
        "repos_url": "https://api.github.com/users/github/repos",
        "events_url": "https://api.github.com/users/github/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "name": "GitHub Actions",
      "description": "Automate your workflow from idea to production",
      "external_url": "https://help.github.com/en/actions",
      "html_url": "https://github.com/apps/github-actions",
      "created_at": "2018-07-30T09:30:17Z",
      "updated_at": "2019-12-10T19:04:12Z",
      "permissions": {
        "actions": "write",
        "checks": "write",
        "contents": "write",
        "deployments": "write",
        "issues": "write",
        "metadata": "read",
        "packages": "write",
        "pages": "write",
        "pull_requests": "write",
        "repository_hooks": "write",
        "repository_projects": "write",
        "security_events": "write",
        "statuses": "write",
        "vulnerability_alerts": "read"
      },
      "events": ["check_run", "check_suite", "create", "delete", "deployment", "deployment_status", "fork", "gollum", "issues", "issue_comment", "label", "milestone", "page_build", "project", "project_card", "project_column", "public", "pull_request", "pull_request_review", "pull_request_review_comment", "push", "registry_package", "release", "repository", "repository_dispatch", "status", "watch", "workflow_dispatch"]
    },
    "pull_requests": []
  }, {
    "id": 801982365,
    "node_id": "MDg6Q2hlY2tSdW44MDE5ODIzNjU=",
    "head_sha": "a7d29afe7cfafba5db372b2ff20ee999932c16d2",
    "external_id": "ca395085-040a-526b-2ce8-bdc85f692774",
    "url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982365",
    "html_url": "https://github.com/didier-durand/github-repository-name/runs/801982365",
    "details_url": "https://github.com/didier-durand/github-repository-name/runs/801982365",
    "status": "completed",
    "conclusion": "success",
    "started_at": "2020-06-24T04:05:49Z",
    "completed_at": "2020-06-24T04:08:24Z",
    "output": {
      "title": null,
      "summary": null,
      "text": null,
      "annotations_count": 0,
      "annotations_url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982365/annotations"
    },
    "name": "build",
    "check_suite": {
      "id": 834063068
    },
    "app": {
      "id": 15368,
      "slug": "github-actions",
      "node_id": "MDM6QXBwMTUzNjg=",
      "owner": {
        "login": "github",
        "id": 9919,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
        "avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github",
        "html_url": "https://github.com/github",
        "followers_url": "https://api.github.com/users/github/followers",
        "following_url": "https://api.github.com/users/github/following{/other_user}",
        "gists_url": "https://api.github.com/users/github/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github/subscriptions",
        "organizations_url": "https://api.github.com/users/github/orgs",
        "repos_url": "https://api.github.com/users/github/repos",
        "events_url": "https://api.github.com/users/github/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "name": "GitHub Actions",
      "description": "Automate your workflow from idea to production",
      "external_url": "https://help.github.com/en/actions",
      "html_url": "https://github.com/apps/github-actions",
      "created_at": "2018-07-30T09:30:17Z",
      "updated_at": "2019-12-10T19:04:12Z",
      "permissions": {
        "actions": "write",
        "checks": "write",
        "contents": "write",
        "deployments": "write",
        "issues": "write",
        "metadata": "read",
        "packages": "write",
        "pages": "write",
        "pull_requests": "write",
        "repository_hooks": "write",
        "repository_projects": "write",
        "security_events": "write",
        "statuses": "write",
        "vulnerability_alerts": "read"
      },
      "events": ["check_run", "check_suite", "create", "delete", "deployment", "deployment_status", "fork", "gollum", "issues", "issue_comment", "label", "milestone", "page_build", "project", "project_card", "project_column", "public", "pull_request", "pull_request_review", "pull_request_review_comment", "push", "registry_package", "release", "repository", "repository_dispatch", "status", "watch", "workflow_dispatch"]
    },
    "pull_requests": []
  }, {
    "id": 801982257,
    "node_id": "MDg6Q2hlY2tSdW44MDE5ODIyNTc=",
    "head_sha": "a7d29afe7cfafba5db372b2ff20ee999932c16d2",
    "external_id": "Jv+BAwEBCkV4dGVybmFsSUQB/4IAAQEBCVRyaWdnZXJJRAEMAAAAKf+CASQ1ZDY3NjI4OC1mNmRhLTRjZDktOTM1Yi05OWE2NjNkZTg4MGEA",
    "url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982257",
    "html_url": "https://github.com/didier-durand/github-repository-name/runs/801982257",
    "details_url": "https://console.cloud.google.com/cloud-build/triggers/edit/5d676288-f6da-4cd9-935b-99a663de880a?project=697176778682",
    "status": "completed",
    "conclusion": "neutral",
    "started_at": "2020-06-24T04:05:39Z",
    "completed_at": "2020-06-24T04:05:39Z",
    "output": {
      "title": "Summary",
      "summary": "Changed files did not match file filter",
      "text": null,
      "annotations_count": 0,
      "annotations_url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982257/annotations"
    },
    "name": "Trigger: 5d676288-f6da-4cd9-935b-99a663de880a",
    "check_suite": {
      "id": 834063042
    },
    "app": {
      "id": 10529,
      "slug": "google-cloud-build",
      "node_id": "MDM6QXBwMTA1Mjk=",
      "owner": {
        "login": "GoogleCloudBuild",
        "id": 38220399,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MjIwMzk5",
        "avatar_url": "https://avatars2.githubusercontent.com/u/38220399?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/GoogleCloudBuild",
        "html_url": "https://github.com/GoogleCloudBuild",
        "followers_url": "https://api.github.com/users/GoogleCloudBuild/followers",
        "following_url": "https://api.github.com/users/GoogleCloudBuild/following{/other_user}",
        "gists_url": "https://api.github.com/users/GoogleCloudBuild/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/GoogleCloudBuild/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/GoogleCloudBuild/subscriptions",
        "organizations_url": "https://api.github.com/users/GoogleCloudBuild/orgs",
        "repos_url": "https://api.github.com/users/GoogleCloudBuild/repos",
        "events_url": "https://api.github.com/users/GoogleCloudBuild/events{/privacy}",
        "received_events_url": "https://api.github.com/users/GoogleCloudBuild/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "name": "Google Cloud Build",
      "description": "Google Cloud Build lets you create fast, consistent, reliable builds across all languages. Automatically build containers or non-container artifacts on commits to your GitHub repository. \r\n\r\nGet complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, Serverless, Kubernetes, or Firebase.",
      "external_url": "https://cloud.google.com/cloud-build/",
      "html_url": "https://github.com/apps/google-cloud-build",
      "created_at": "2018-03-29T13:50:34Z",
      "updated_at": "2019-03-11T19:46:50Z",
      "permissions": {
        "checks": "write",
        "contents": "read",
        "issues": "read",
        "metadata": "read",
        "pull_requests": "read",
        "statuses": "write"
      },
      "events": ["check_run", "check_suite", "commit_comment", "issue_comment", "label", "pull_request", "push"]
    },
    "pull_requests": []
  }, {
    "id": 801982228,
    "node_id": "MDg6Q2hlY2tSdW44MDE5ODIyMjg=",
    "head_sha": "a7d29afe7cfafba5db372b2ff20ee999932c16d2",
    "external_id": "Jv+BAwEBCkV4dGVybmFsSUQB/4IAAQEBCVRyaWdnZXJJRAEMAAAAKf+CASQ3MjJhZGJkZi1mYjVmLTQ2NDUtODg4Ny00MjdmNmNlMDUxNDkA",
    "url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982228",
    "html_url": "https://github.com/didier-durand/github-repository-name/runs/801982228",
    "details_url": "https://console.cloud.google.com/cloud-build/triggers/edit/722adbdf-fb5f-4645-8887-427f6ce05149?project=697176778682",
    "status": "completed",
    "conclusion": "neutral",
    "started_at": "2020-06-24T04:05:38Z",
    "completed_at": "2020-06-24T04:05:38Z",
    "output": {
      "title": "Summary",
      "summary": "Changed files did not match file filter",
      "text": null,
      "annotations_count": 0,
      "annotations_url": "https://api.github.com/repos/didier-durand/github-repository-name/check-runs/801982228/annotations"
    },
    "name": "Trigger: 722adbdf-fb5f-4645-8887-427f6ce05149",
    "check_suite": {
      "id": 834063042
    },
    "app": {
      "id": 10529,
      "slug": "google-cloud-build",
      "node_id": "MDM6QXBwMTA1Mjk=",
      "owner": {
        "login": "GoogleCloudBuild",
        "id": 38220399,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MjIwMzk5",
        "avatar_url": "https://avatars2.githubusercontent.com/u/38220399?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/GoogleCloudBuild",
        "html_url": "https://github.com/GoogleCloudBuild",
        "followers_url": "https://api.github.com/users/GoogleCloudBuild/followers",
        "following_url": "https://api.github.com/users/GoogleCloudBuild/following{/other_user}",
        "gists_url": "https://api.github.com/users/GoogleCloudBuild/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/GoogleCloudBuild/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/GoogleCloudBuild/subscriptions",
        "organizations_url": "https://api.github.com/users/GoogleCloudBuild/orgs",
        "repos_url": "https://api.github.com/users/GoogleCloudBuild/repos",
        "events_url": "https://api.github.com/users/GoogleCloudBuild/events{/privacy}",
        "received_events_url": "https://api.github.com/users/GoogleCloudBuild/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "name": "Google Cloud Build",
      "description": "Google Cloud Build lets you create fast, consistent, reliable builds across all languages. Automatically build containers or non-container artifacts on commits to your GitHub repository. \r\n\r\nGet complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, Serverless, Kubernetes, or Firebase.",
      "external_url": "https://cloud.google.com/cloud-build/",
      "html_url": "https://github.com/apps/google-cloud-build",
      "created_at": "2018-03-29T13:50:34Z",
      "updated_at": "2019-03-11T19:46:50Z",
      "permissions": {
        "checks": "write",
        "contents": "read",
        "issues": "read",
        "metadata": "read",
        "pull_requests": "read",
        "statuses": "write"
      },
      "events": ["check_run", "check_suite", "commit_comment", "issue_comment", "label", "pull_request", "push"]
    },
    "pull_requests": []
  }]
}

bitwiseman added a commit that referenced this issue Jul 1, 2020
This event is undocumented at this time, but this change will stop the deserialization errors.

Fixes #854
@didier-durand
Copy link
Author

Good. So, nothing additional expected from me at this point?
Didier

@bitwiseman
Copy link
Member

@didier-durand
Use the workaround of unchecking the box, other than that no action for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants