SAP / fosstars-rating-core

A framework for defining ratings for open source projects. In particular, the framework offers a security rating for open source projects that may be used to assess the security risk that comes with open source components.
https://sap.github.io/fosstars-rating-core/
Apache License 2.0
60 stars 27 forks source link

LgtmDataProvider may fail while retrieving check runs #259

Closed artem-smotrakov closed 4 years ago

artem-smotrakov commented 4 years ago

The data provider may sometimes fails with the following output:

[+] Figuring out how the project uses LGTM ...
[!] Holy Moly, LgtmDataProvider data provider failed!
[!] The last thing that it said was
org.kohsuke.github.GHException: Failed to retrieve https://api.github.com/repos/apache/beam/commits/1fbc55e7819187018c2cb3cb295eb84e6f348d8a/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 com.sap.sgs.phosphor.fosstars.data.github.LgtmDataProvider.hasLgtmChecks(LgtmDataProvider.java:147)
    at com.sap.sgs.phosphor.fosstars.data.github.LgtmDataProvider.usesLgtmChecks(LgtmDataProvider.java:101)
    at com.sap.sgs.phosphor.fosstars.data.github.LgtmDataProvider.fetchValuesFor(LgtmDataProvider.java:65)
    at com.sap.sgs.phosphor.fosstars.data.github.LgtmDataProvider.fetchValuesFor(LgtmDataProvider.java:36)
    at com.sap.sgs.phosphor.fosstars.data.AbstractCachingDataProvider.doUpdate(AbstractCachingDataProvider.java:64)
    at com.sap.sgs.phosphor.fosstars.data.AbstractCachingDataProvider.doUpdate(AbstractCachingDataProvider.java:21)
    at com.sap.sgs.phosphor.fosstars.data.AbstractDataProvider.update(AbstractDataProvider.java:51)
    at com.sap.sgs.phosphor.fosstars.data.AbstractDataProvider.update(AbstractDataProvider.java:17)
    at com.sap.sgs.phosphor.fosstars.tool.github.SingleSecurityRatingCalculator.calculateFor(SingleSecurityRatingCalculator.java:83)
    at com.sap.sgs.phosphor.fosstars.tool.github.SingleSecurityRatingCalculator.calculateFor(SingleSecurityRatingCalculator.java:44)
    at com.sap.sgs.phosphor.fosstars.tool.github.SecurityRatingCalculator.processUrl(SecurityRatingCalculator.java:200)
    at com.sap.sgs.phosphor.fosstars.tool.github.SecurityRatingCalculator.run(SecurityRatingCalculator.java:171)
    at com.sap.sgs.phosphor.fosstars.tool.github.SecurityRatingCalculator.main(SecurityRatingCalculator.java:94)
Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: '200 OK' for URL: https://api.github.com/repos/apache/beam/commits/1fbc55e7819187018c2cb3cb295eb84e6f348d8a/check-runs
    at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:445)
    at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:368)
    at org.kohsuke.github.GitHubPageIterator.fetch(GitHubPageIterator.java:144)
    ... 17 more
Caused by: java.io.IOException: Failed to deserialize {"total_count":19,"check_runs":[{"id":848163759,"node_id":"MDg6Q2hlY2tSdW44NDgxNjM3NTk=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"a27757da-1203-5158-2ead-33dafe284c0d","url":"https://api.github.com/repos/apache/beam/check-runs/848163759","html_url":"https://github.com/apache/beam/runs/848163759","details_url":"https://github.com/apache/beam/runs/848163759","status":"completed","conclusion":"success","started_at":"2020-07-08T02:41:59Z","completed_at":"2020-07-08T02:42:16Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848163759/annotations"},"name":"List files on Google Cloud Storage Bucket","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848162088,"node_id":"MDg6Q2hlY2tSdW44NDgxNjIwODg=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"94a33fce-eea7-5313-c391-3caafb4ef420","url":"https://api.github.com/repos/apache/beam/check-runs/848162088","html_url":"https://github.com/apache/beam/runs/848162088","details_url":"https://github.com/apache/beam/runs/848162088","status":"completed","conclusion":"success","started_at":"2020-07-08T02:41:07Z","completed_at":"2020-07-08T02:41:40Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848162088/annotations"},"name":"Upload wheels to GCS bucket (macos-latest)","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848162079,"node_id":"MDg6Q2hlY2tSdW44NDgxNjIwNzk=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"ab6b8399-6e56-54fa-0e80-62c19e7ca212","url":"https://api.github.com/repos/apache/beam/check-runs/848162079","html_url":"https://github.com/apache/beam/runs/848162079","details_url":"https://github.com/apache/beam/runs/848162079","status":"completed","conclusion":"success","started_at":"2020-07-08T02:41:06Z","completed_at":"2020-07-08T02:41:45Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848162079/annotations"},"name":"Upload wheels to GCS bucket (ubuntu-latest)","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848162064,"node_id":"MDg6Q2hlY2tSdW44NDgxNjIwNjQ=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"a500b912-d8a4-57eb-47b6-2cd94076ceac","url":"https://api.github.com/repos/apache/beam/check-runs/848162064","html_url":"https://github.com/apache/beam/runs/848162064","details_url":"https://github.com/apache/beam/runs/848162064","status":"completed","conclusion":"success","started_at":"2020-07-08T02:41:07Z","completed_at":"2020-07-08T02:41:20Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848162064/annotations"},"name":"Tag repo nightly","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848120188,"node_id":"MDg6Q2hlY2tSdW44NDgxMjAxODg=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"daf49ed5-8eb6-5a30-76be-7e431108eed1","url":"https://api.github.com/repos/apache/beam/check-runs/848120188","html_url":"https://github.com/apache/beam/runs/848120188","details_url":"https://github.com/apache/beam/runs/848120188","status":"completed","conclusion":"success","started_at":"2020-07-08T02:17:29Z","completed_at":"2020-07-08T02:17:46Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848120188/annotations"},"name":"Upload source to GCS bucket","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848119341,"node_id":"MDg6Q2hlY2tSdW44NDgxMTkzNDE=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"242b374e-3782-529d-6f39-2613bd75544e","url":"https://api.github.com/repos/apache/beam/check-runs/848119341","html_url":"https://github.com/apache/beam/runs/848119341","details_url":"https://github.com/apache/beam/runs/848119341","status":"completed","conclusion":"success","started_at":"2020-07-08T02:17:01Z","completed_at":"2020-07-08T02:36:06Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848119341/annotations"},"name":"Build wheels on macos-latest","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848119332,"node_id":"MDg6Q2hlY2tSdW44NDgxMTkzMzI=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"1c51fa77-386b-599b-6a96-810d4fbccbe0","url":"https://api.github.com/repos/apache/beam/check-runs/848119332","html_url":"https://github.com/apache/beam/runs/848119332","details_url":"https://github.com/apache/beam/runs/848119332","status":"completed","conclusion":"success","started_at":"2020-07-08T02:16:58Z","completed_at":"2020-07-08T02:40:52Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848119332/annotations"},"name":"Build wheels on ubuntu-latest","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848119302,"node_id":"MDg6Q2hlY2tSdW44NDgxMTkzMDI=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"7879e6be-ded6-510f-ac2e-45bc46948764","url":"https://api.github.com/repos/apache/beam/check-runs/848119302","html_url":"https://github.com/apache/beam/runs/848119302","details_url":"https://github.com/apache/beam/runs/848119302","status":"completed","conclusion":"success","started_at":"2020-07-08T02:16:59Z","completed_at":"2020-07-08T02:17:16Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848119302/annotations"},"name":"Prepare GCS","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":848116239,"node_id":"MDg6Q2hlY2tSdW44NDgxMTYyMzk=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"c5d8ac9d-ed36-5a9c-5fcf-d99c4ceba05f","url":"https://api.github.com/repos/apache/beam/check-runs/848116239","html_url":"https://github.com/apache/beam/runs/848116239","details_url":"https://github.com/apache/beam/runs/848116239","status":"completed","conclusion":"success","started_at":"2020-07-08T02:15:44Z","completed_at":"2020-07-08T02:16:40Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/848116239/annotations"},"name":"build_source","check_suite":{"id":888747017},"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","workflow_run"]},"pull_requests":[{"url":"https://api.github.com/repos/surpass/beam/pulls/2","id":130984403,"number":2,"head":{"ref":"master","sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","repo":{"id":50904245,"url":"https://api.github.com/repos/apache/beam","name":"beam"}},"base":{"ref":"master","sha":"4f3543fc6a5b3be9a0130daf5dc1f0352f04d1d0","repo":{"id":82873171,"url":"https://api.github.com/repos/surpass/beam","name":"beam"}}}]},{"id":847772115,"node_id":"MDg6Q2hlY2tSdW44NDc3NzIxMTU=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"a27757da-1203-5158-2ead-33dafe284c0d","url":"https://api.github.com/repos/apache/beam/check-runs/847772115","html_url":"https://github.com/apache/beam/runs/847772115","details_url":"https://github.com/apache/beam/runs/847772115","status":"completed","conclusion":"success","started_at":"2020-07-07T23:45:57Z","completed_at":"2020-07-07T23:46:11Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847772115/annotations"},"name":"List files on Google Cloud Storage Bucket","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847770623,"node_id":"MDg6Q2hlY2tSdW44NDc3NzA2MjM=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"a500b912-d8a4-57eb-47b6-2cd94076ceac","url":"https://api.github.com/repos/apache/beam/check-runs/847770623","html_url":"https://github.com/apache/beam/runs/847770623","details_url":"https://github.com/apache/beam/runs/847770623","status":"completed","conclusion":"skipped","started_at":"2020-07-07T23:46:17Z","completed_at":"2020-07-07T23:46:17Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847770623/annotations"},"name":"Tag repo nightly","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847770611,"node_id":"MDg6Q2hlY2tSdW44NDc3NzA2MTE=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"94a33fce-eea7-5313-c391-3caafb4ef420","url":"https://api.github.com/repos/apache/beam/check-runs/847770611","html_url":"https://github.com/apache/beam/runs/847770611","details_url":"https://github.com/apache/beam/runs/847770611","status":"completed","conclusion":"success","started_at":"2020-07-07T23:45:07Z","completed_at":"2020-07-07T23:45:29Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847770611/annotations"},"name":"Upload wheels to GCS bucket (macos-latest)","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847770607,"node_id":"MDg6Q2hlY2tSdW44NDc3NzA2MDc=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"ab6b8399-6e56-54fa-0e80-62c19e7ca212","url":"https://api.github.com/repos/apache/beam/check-runs/847770607","html_url":"https://github.com/apache/beam/runs/847770607","details_url":"https://github.com/apache/beam/runs/847770607","status":"completed","conclusion":"success","started_at":"2020-07-07T23:45:07Z","completed_at":"2020-07-07T23:45:45Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847770607/annotations"},"name":"Upload wheels to GCS bucket (ubuntu-latest)","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847730590,"node_id":"MDg6Q2hlY2tSdW44NDc3MzA1OTA=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"daf49ed5-8eb6-5a30-76be-7e431108eed1","url":"https://api.github.com/repos/apache/beam/check-runs/847730590","html_url":"https://github.com/apache/beam/runs/847730590","details_url":"https://github.com/apache/beam/runs/847730590","status":"completed","conclusion":"success","started_at":"2020-07-07T23:25:17Z","completed_at":"2020-07-07T23:25:34Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847730590/annotations"},"name":"Upload source to GCS bucket","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847729399,"node_id":"MDg6Q2hlY2tSdW44NDc3MjkzOTk=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"7879e6be-ded6-510f-ac2e-45bc46948764","url":"https://api.github.com/repos/apache/beam/check-runs/847729399","html_url":"https://github.com/apache/beam/runs/847729399","details_url":"https://github.com/apache/beam/runs/847729399","status":"completed","conclusion":"success","started_at":"2020-07-07T23:24:46Z","completed_at":"2020-07-07T23:25:05Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847729399/annotations"},"name":"Prepare GCS","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847729379,"node_id":"MDg6Q2hlY2tSdW44NDc3MjkzNzk=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"242b374e-3782-529d-6f39-2613bd75544e","url":"https://api.github.com/repos/apache/beam/check-runs/847729379","html_url":"https://github.com/apache/beam/runs/847729379","details_url":"https://github.com/apache/beam/runs/847729379","status":"completed","conclusion":"success","started_at":"2020-07-07T23:24:52Z","completed_at":"2020-07-07T23:42:50Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847729379/annotations"},"name":"Build wheels on macos-latest","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847729372,"node_id":"MDg6Q2hlY2tSdW44NDc3MjkzNzI=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"1c51fa77-386b-599b-6a96-810d4fbccbe0","url":"https://api.github.com/repos/apache/beam/check-runs/847729372","html_url":"https://github.com/apache/beam/runs/847729372","details_url":"https://github.com/apache/beam/runs/847729372","status":"completed","conclusion":"success","started_at":"2020-07-07T23:24:45Z","completed_at":"2020-07-07T23:44:55Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847729372/annotations"},"name":"Build wheels on ubuntu-latest","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]},{"id":847726943,"node_id":"MDg6Q2hlY2tSdW44NDc3MjY5NDM=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"3e3cd075-7918-536b-1e9e-92cb9a786ed7","url":"https://api.github.com/repos/apache/beam/check-runs/847726943","html_url":"https://github.com/apache/beam/runs/847726943","details_url":"https://github.com/apache/beam/runs/847726943","status":"completed","conclusion":"success","started_at":"2020-07-07T23:23:36Z","completed_at":"2020-07-07T23:23:41Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847726943/annotations"},"name":"Cancel Previous Runs","check_suite":{"id":888271787},"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","workflow_run"]},"pull_requests":[]},{"id":847726923,"node_id":"MDg6Q2hlY2tSdW44NDc3MjY5MjM=","head_sha":"1fbc55e7819187018c2cb3cb295eb84e6f348d8a","external_id":"c5d8ac9d-ed36-5a9c-5fcf-d99c4ceba05f","url":"https://api.github.com/repos/apache/beam/check-runs/847726923","html_url":"https://github.com/apache/beam/runs/847726923","details_url":"https://github.com/apache/beam/runs/847726923","status":"completed","conclusion":"success","started_at":"2020-07-07T23:23:36Z","completed_at":"2020-07-07T23:24:31Z","output":{"title":null,"summary":null,"text":null,"annotations_count":0,"annotations_url":"https://api.github.com/repos/apache/beam/check-runs/847726923/annotations"},"name":"build_source","check_suite":{"id":888271762},"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","workflow_run"]},"pull_requests":[]}]}
    at org.kohsuke.github.GitHubResponse.parseBody(GitHubResponse.java:88)
    at org.kohsuke.github.GitHubPageIterator.lambda$fetch$0(GitHubPageIterator.java:145)
    at org.kohsuke.github.GitHubClient.createResponse(GitHubClient.java:406)
    at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:360)
    ... 18 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: (StringReader); line: 1, column: 2675] (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:1679)
    at com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:935)
    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:85)
    ... 21 more

The issue can be reproduced with the following command:

java -jar target/fosstars-github-rating-calc.jar --token ${TOKEN} --url https://github.com/apache/beam --no-questions

It looks like it fails to deserialize something from GitHub. It may be a bug in the Kohsuke lib. Maybe updating to the latest version can fix the issue.

artem-smotrakov commented 4 years ago

The issues is still reproducible with 1.114. Looks like it's an bug in the library, see https://github.com/hub4j/github-api/issues/854 The issue was recently fixed. Hope the fix will be in the next version.

artem-smotrakov commented 4 years ago

https://mvnrepository.com/artifact/org.kohsuke/github-api/1.115 is available