Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
19 changes: 10 additions & 9 deletions .github/workflows/application-health-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: sudo apt-get update

- name: Checkout code # Step to check out the code from the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -29,14 +29,15 @@ jobs:

- name: Build Project # Build with npm
run: npm run build
- uses: sonarsource/sonarqube-scan-action@v3

- uses: sonarsource/sonarqube-scan-action@v3 # Performs the project analysis using SonarQube Scanner.
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
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 }}

# If you wish to not fail your job when the Quality Gate is red, comment out the
# following lines.
- uses: sonarsource/sonarqube-quality-gate-action@master # Checks the SonarQube Quality Gate status.
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
17 changes: 9 additions & 8 deletions .github/workflows/pull-request-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: sudo apt-get update

- name: Checkout code # Step to check out the code from the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -36,13 +36,14 @@ jobs:
- name: Build Project # Build with npm
run: npm run build

- uses: sonarsource/sonarqube-scan-action@v3
- uses: sonarsource/sonarqube-scan-action@v3 # Performs the project analysis using SonarQube Scanner.
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
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 }}

# If you wish to not fail your job when the Quality Gate is red, comment out the
# following lines.
- uses: sonarsource/sonarqube-quality-gate-action@master # Checks the SonarQube Quality Gate status.
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Loading