austin3dickey commented on code in PR #14691:
URL: https://github.com/apache/arrow/pull/14691#discussion_r1028409994
##########
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:
If this ever changes, it will be important to scrape the PR number from a
GHA environment variable. [This
issue](https://github.com/actions/checkout/issues/58) has many suggestions on
how to do that.
--
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]