Skip to content

Commit

Permalink
ci: fix sonarcloud checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
willpassidomo committed Mar 2, 2022
1 parent 1039e0a commit 8cb8ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.head_ref}}
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
Expand Down

0 comments on commit 8cb8ed1

Please sign in to comment.