juliethecao commented on code in PR #5359:
URL: https://github.com/apache/texera/pull/5359#discussion_r3354227680
##########
.github/workflows/comment-commands.yml:
##########
@@ -111,10 +113,16 @@ jobs:
|| startsWith(github.event.comment.body, '/unrequest-review'))
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v5
Review Comment:
- Added an explicit git fetch origin <pull.base.ref> inside
getReviewersFromBlame, right after the github.rest.pulls.get API call that
gives us pull.base.ref.
- This ensures pull.base.sha is always reachable in the runner regardless of
which branch the PR targets, not just main.
- The fetch can't be done at the actions/checkout step level because
pull.base.ref is only known after the API call, which happens later in the
script step.
--
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]