From e49646b085776c1716d2d2fbc12e0f30098013eb Mon Sep 17 00:00:00 2001 From: Duy Pham Le <32657584+phamleduy04@users.noreply.github.com> Date: Fri, 14 Jun 2024 00:48:43 -0500 Subject: [PATCH] Update analysis.yml --- .github/workflows/analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 2c5970c..da4fe33 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -3,7 +3,7 @@ name: Code Analysis on: push: branches: - - '*' + - 'main' pull_request: branches: - '*' @@ -14,7 +14,7 @@ jobs: name: scan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - uses: sonarsource/sonarqube-scan-action@master