You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe GitHub has made some changes to their graphql api. This morning all our builds started failing, long story short. the check commands has started to fail. to replicate:
Run check command with input { "source": { "access_token": "*******", "owner": "******", "repository": "*****" } }
Output: error running command: illegal base64 data at input byte 2
Digging into what could be wrong, I identified the line throwing the error:
I believe GitHub has made some changes to their graphql api. This morning all our builds started failing, long story short. the check commands has started to fail. to replicate:
Run check command with input
{ "source": { "access_token": "*******", "owner": "******", "repository": "*****" } }
Output:
error running command: illegal base64 data at input byte 2
Digging into what could be wrong, I identified the line throwing the error:
github-release-resource/github_graphql.go
Line 53 in e4ead37
And it seems the api no longer responds with a valid base64 encoded id:
query { repository(name: "*****", owner:"******") { releases(first: 2, orderBy: { field: CREATED_AT, direction:DESC }) { edges { node { createdAt name id } } } } }
returns, and the id format changed
{ "data": { "repository": { "releases": { "edges": [ { "node": { "createdAt": "2021-09-08T12:24:52Z", "name": "1.13.1-8bae567", "id": "RE_kwDOEdX6pc4C7qbI" } }, { "node": { "createdAt": "2021-04-21T08:27:36Z", "name": "1.12.0", "id": "MDc6UmVsZWFzZTQxNzYxMDc5" } } ] } } } }
The text was updated successfully, but these errors were encountered: