Skip to content

Commit

Permalink
Sources should be fetched with full history before running Qodana
Browse files Browse the repository at this point in the history
  • Loading branch information
hybloid authored and hsz committed Sep 18, 2024
1 parent 4535950 commit 1a4dfec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

# Validate wrapper
- name: Gradle Wrapper Validation
Expand Down Expand Up @@ -157,6 +154,9 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

# Set up Java environment for the next steps
- name: Setup Java
Expand Down

0 comments on commit 1a4dfec

Please sign in to comment.