gha: sonar: disable shallow clone (irrelevant) to get rid of warning
This commit is contained in:
parent
d4685ff370
commit
c5f75e06c8
1 changed files with 7 additions and 2 deletions
9
.github/workflows/sonar.yml
vendored
9
.github/workflows/sonar.yml
vendored
|
|
@ -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'
|
||||
-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue