Skip to content

Commit

Permalink
build: Set fetch-depth to 0 because of sonar.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlspring authored Jul 29, 2023
1 parent 2be9515 commit ec2da03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: '1'
fetch-depth: '0' # 0 because of sonar needs git blame.

- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v3
Expand Down

0 comments on commit ec2da03

Please sign in to comment.