Skip to content

Commit

Permalink
gha: sonar: disable shallow clone (irrelevant) to get rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Nov 8, 2023
1 parent d4685ff commit c5f75e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
-
Expand Down

0 comments on commit c5f75e0

Please sign in to comment.