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_r384838847
 
 

 ##########
 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:
   This is a screenshot image when the previous run failed. 
   <img width="1394" alt="WX20200227-074637@2x" 
src="https://user-images.githubusercontent.com/2892433/75398715-6b815c00-5935-11ea-9daf-58f91177367a.png";>
   This should be set before. This parameter will be taken after running the 
command. There is no in-depth study. This is the way to refer to the official 
action 
documentation.[https://github.com/actions/checkout#Checkout-submodules](url)

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