Skip to content

Commit

Permalink
Actualizacion de configuracion de sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo3829l committed Apr 4, 2024
1 parent 365ad2a commit fddb0bd
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/sonar_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,18 @@ on:
workflow_dispatch:

jobs:
sonarcloud_security_scan:
name: SonarCloud Security Scan
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Check SonarCloud Quality Gate
run: |
Expand Down

0 comments on commit fddb0bd

Please sign in to comment.