Provide proper checkout configuration for Qodana needs

This commit is contained in:
Dima Golovinov 2024-09-18 14:53:23 +02:00 committed by Jakub Chrzanowski
parent b83e18d0ad
commit ff48dc7555

View File

@ -39,6 +39,9 @@ jobs:
# Check out the current repository # Check out the current repository
- name: Fetch Sources - name: Fetch Sources
uses: actions/checkout@v4 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 # Validate wrapper
- name: Gradle Wrapper Validation - name: Gradle Wrapper Validation