aderm commented on a change in pull request #4419: [WIP]Update to
actions/checkout@v2, fix checks error: reference is not a tree.
URL: https://github.com/apache/skywalking/pull/4419#discussion_r384902220
##########
File path: .github/workflows/ci-it.yaml
##########
@@ -32,9 +32,15 @@ jobs:
strategy:
fail-fast: true
steps:
- - uses: actions/checkout@v1
- with:
- submodules: true
+ - uses: actions/checkout@v2
+ - name: Checkout submodules
+ shell: bash
+ run: |
+ # If your submodules are configured to use SSH instead of HTTPS
please uncomment the following line
+ # git config --global url."https://github.com/".insteadOf
"[email protected]:"
+ auth_header="$(git config --local --get
http.https://github.com/.extraheader)"
Review comment:
@wu-sheng Actions execute should be a bit different from local. For this
successful example , the `auth_header` parameter be set in the before checkout
step `actions/checkout@v2`, So all of the following need to take this parameter.
<img width="1072" alt="WX20200227-115704@2x"
src="https://user-images.githubusercontent.com/2892433/75411012-c37d8a00-5958-11ea-8193-6cb33d654b02.png">
----------------------------------------------------------------
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