Skip to content

Commit

Permalink
Update the sonar properties
Browse files Browse the repository at this point in the history
  • Loading branch information
anjula-sack committed Aug 15, 2023
1 parent d37e52d commit 03f9f76
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Code scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

- name: Use Node.js
uses: actions/setup-node@v3
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/sonarQube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code scan

on:
push:
branches:
- main

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sonar.projectKey=scholarx
sonar.projectKey=sef-global_scholarx-backend_AYn3TFoZc0QVTqZRCL08

0 comments on commit 03f9f76

Please sign in to comment.