Skip to content

Commit

Permalink
fix: use root user for sonarscanner job
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-mariotti-zupit committed May 23, 2024
1 parent a000683 commit 63c9700
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sonar-step-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
runs-on:
labels: ${{ inputs.RUN_ON }}
group: ${{ inputs.RUNNERS_CONTAINER_GROUP }}
container: ${{ inputs.SONAR_IMAGE }}
container:
image: ${{ inputs.SONAR_IMAGE }}
options: --user root
defaults:
run:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
Expand Down

0 comments on commit 63c9700

Please sign in to comment.