gha: sonar: disable shallow clone (irrelevant) to get rid of warning

This commit is contained in:
Ralf Vogler 2023-11-08 01:36:35 +01:00
parent d4685ff370
commit c5f75e06c8

View file

@ -10,8 +10,13 @@ jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
-
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting. Otherwise sonarcloud will show a warning.
fetch-depth: 0
-
uses: actions/setup-node@v3
with:
cache: 'npm'
-