raulcd commented on PR #46113:
URL: https://github.com/apache/arrow/pull/46113#issuecomment-2801160204

   @kou this should be ready. CI failures are unrelated. It seems it fails when 
the PR for 20.0.0 RC0 is open. But taking a look at the following code I am 
unsure why it comes as null. I'll open an issue:
   ```
       response = Net::HTTP.post(uri,
                                 n_issues_query.to_json,
                                 "Content-Type" => "application/json",
                                 "Authorization" => "Bearer #{github_token}")
       n_resolved_issues = 
JSON.parse(response.body)["data"]["search"]["issueCount"]
       github_api_url = "https://api.github.com";
       verify_prs = URI("#{github_api_url}/repos/apache/arrow/pulls" +
                        "?state=open" +
                        "&head=apache:release-#{@release_version}-rc0")
       verify_pr_url = nil
       headers = {
         "Accept" => "application/vnd.github+json",
       }
   
       if github_token
         headers["Authorization"] = "Bearer #{github_token}"
       end
       verify_prs.open(headers) do |response|
         verify_pr_url = (JSON.parse(response.read)[0] || {})["html_url"]
       end
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to