Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/application-health-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ jobs:

- name: Build Project # Build with npm
run: npm run build


# Performs the project analysis using SonarQube Scanner.
- uses: sonarsource/sonarqube-scan-action@v3
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Authentication token required to access the SonarQube server
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# Checks the SonarQube Quality Gate status.
- uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5 # Maximum allowed time for this step to run (5 minutes)
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Authentication token required to retrieve the Quality Gate result
15 changes: 8 additions & 7 deletions .github/workflows/pull-request-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ jobs:
- name: Build Project # Build with npm
run: npm run build

# Performs the project analysis using SonarQube Scanner.
- uses: sonarsource/sonarqube-scan-action@v3
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Authentication token required to access the SonarQube server
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# Checks the SonarQube Quality Gate status.
- uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5 # Maximum allowed time for this step to run (5 minutes)
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Authentication token required to retrieve the Quality Gate result
Loading