zeroshade commented on code in PR #14691:
URL: https://github.com/apache/arrow/pull/14691#discussion_r1028412855


##########
ci/scripts/go_bench_adapt.py:
##########
@@ -79,7 +79,11 @@ def _transform_results(self) -> List[BenchmarkResult]:
                         "params": '/'.join(pieces[1:]),
                     },
                     run_reason=RUN_REASON,
-                    github=None, # scrape info from cloned repo
+                    github={
+                        "repository": os.environ["GITHUB_REPOSITORY"],
+                        "commit": os.environ["GITHUB_SHA"],
+                        "pr_number": None,  # we currently only run this on 
the default branch

Review Comment:
   yea, it's something easy enough to grab from an Env var or to have passed in 
via the GHA itself.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to