From 5050de95227fadc0368b86c8554444dd5562fc23 Mon Sep 17 00:00:00 2001 From: rostislav Date: Tue, 28 May 2024 01:56:35 +0300 Subject: [PATCH] sonarqube upd --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26c41910c0fcc..3b903d00a9ccb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: id: modified_files run: | git fetch origin main - MODIFIED_FILES=$(git diff --name-only origin/main | tr '\n' ',') + MODIFIED_FILES=$(git diff --name-only origin/${{ github.ref }} | tr '\n' ',') echo "::set-output name=files::$MODIFIED_FILES" - name: Run SonarQube analysis