yjshen opened a new pull request #2272: Move checkout action to v2
URL: https://github.com/apache/bookkeeper/pull/2272
 
 
   "fatal: reference is not a tree" is a known issue in actions/checkout#23 and 
fixed in checkout@v2, update checkout used in GitHub actions.
   
   The following three lines only "checkout pull request HEAD commit instead of 
merge commit" and made all commits available for the following actions. 
   For Pulsar, there is a check for "doc only change" and compares the PR 
commit with the revision the PR is based, therefore git diff is used and needs 
the revision history visible. 
   For BookKeeper, since git command is not using for the following steps now, 
these lines could be removed as well. 
   ```yml
   with:
     fetch-depth: 0
     ref: ${{ github.event.pull_request.head.sha }}
   ```

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to