File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -178,10 +178,17 @@ jobs:
178178 with :
179179 name : clang-tidy
180180 path : ${{ env.BASEDIR }}/target_ws/src/$(basename $(pwd))
181+ - name : chown the target_ws because it came out of root-owned Docker container filesystem
182+ run : sudo chown -R "$USER:$USER" ${{ env.BASEDIR }}/target_ws
183+ - name : move sonar-project.properties from checkout into ICI output
184+ run : mv sonar-project.properties ${{ env.BASEDIR }}/target_ws
181185 - name : SonarQube Scan
182186 # Don't run if SONAR_TOKEN is not set (i.e. PR job from a fork)
183187 if : matrix.env.CCOV && steps.ici.outputs.target_test_results == '0' && env.SONAR_TOKEN != ''
184188 uses : SonarSource/sonarqube-scan-action@v6.0.0
189+ with :
190+ projectBaseDir : ${{ env.BASEDIR }}/target_ws
191+
185192 - name : Prepare target_ws for cache
186193 if : always() && !matrix.env.CCOV
187194 run : |
You can’t perform that action at this time.
0 commit comments