fix unshallow (#5180)

This commit is contained in:
Pere Miquel Brull 2022-05-27 10:09:42 +02:00 committed by GitHub
parent 04ede3b05b
commit 4bbe4ef63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,12 +70,6 @@ jobs:
make coverage
rm pom.xml
- name: Fetch main for sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch --no-tags --unshallow https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main
- name: Run PR Sonar
uses: sonarsource/sonarcloud-github-action@master
if: ${{ github.event_name == 'pull_request_target' }}