Skip to content

Commit

Permalink
ci: Checking out the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc committed Jul 5, 2024
1 parent ca66c4d commit 3272011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ on:
jobs:
sonarcloud:
name: Run Sonarlint analysis and upload to SonarCloud.
if: github.repository == 'aristanetworks/anta'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit 3272011

Please sign in to comment.