freeznet commented on a change in pull request #18:
URL: https://github.com/apache/pulsar-test-infra/pull/18#discussion_r594030255
##########
File path: pulsarbot/entrypoint.sh
##########
@@ -37,11 +37,11 @@ fi
PR_NUM=$(jq -r '.issue.number' "${GITHUB_EVENT_PATH}")
# get head sha
-curl -s -H "Accept: application/vnd.github.antiope-preview+json"
https://api.github.com/repos/apache/pulsar/git/ref/pull/${PR_NUM}/head >
result-headsha.txt
+curl -s -H "Accept: application/vnd.github.antiope-preview+json"
"https://api.github.com/repos/${GITHUB_REPOSITORY}/git/ref/pull/${PR_NUM}/head"
> result-headsha.txt
Review comment:
@zymap thanks for your review, added `BOT_TARGET_REPOSITORY` with
default value `apache/pulsar`, PTAL.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]