Skip to content

Commit

Permalink
fix: add sonar root user to dotnet and flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-sartori-zupit committed May 23, 2024
1 parent 166cbc4 commit 21094cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sonar-step-dotnet-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
container:
image: ${{ inputs.SONAR_IMAGE }}
env: ${{ fromJson(inputs.SONAR_IMAGE_ENV_VARIABLES) }}
options: --user root
defaults:
run:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/sonar-step-flutter-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
RUN_ON:
required: false
type: string
default: 'zupit-agents'
default: "zupit-agents"
RUNNERS_CONTAINER_GROUP:
required: false
type: string
default: 'Container'
default: "Container"
WORKING_DIRECTORY:
required: true
type: string
Expand Down Expand Up @@ -48,7 +48,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 21094cf

Please sign in to comment.