Skip to content

Commit

Permalink
Fix pull_request event
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipufu committed Nov 13, 2023
1 parent 601e471 commit 1dae76c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
java-version: '17'
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref || github.ref }}
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 1dae76c

Please sign in to comment.