Skip to content

Commit

Permalink
Hack to work around coq#203.
Browse files Browse the repository at this point in the history
Use a manually edited copy of the query to use the right custom custom scalar.
  • Loading branch information
Zimmi48 committed Feb 28, 2022
1 parent a9c24e3 commit d9c1d87
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bot-components/GitHub_mutations.ml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,19 @@ let create_check_run ~bot_info ?conclusion ~name ~repo_id ~head_sha ~status
`QUEUED
in
let open GitHub_GraphQL.NewCheckRun in
let query =
"mutation newCheckRun($name: String!, $repoId: ID!, $headSha: \
GitObjectID!, $status: RequestableCheckStatusState!, $title: String!, \
$text: String, $summary: String!, $url: URI!, $conclusion: \
CheckConclusionState, $externalId: String) {\n\
createCheckRun(input: {status: $status, name: $name, repositoryId: \
$repoId, headSha: $headSha, conclusion: $conclusion, detailsUrl: $url, \
output: {title: $title, text: $text, summary: $summary}, externalId: \
$externalId}) {\n\
clientMutationId \n\
}\n\n\
}\n"
in
makeVariables ~name ~repoId:repo_id ~headSha:head_sha ~status ~title ?text
~summary ~url:details_url ?conclusion ?externalId:external_id ()
|> serializeVariables |> variablesToJson
Expand Down

0 comments on commit d9c1d87

Please sign in to comment.