Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
SonarToken
Browse files Browse the repository at this point in the history
  • Loading branch information
Tugark committed Sep 2, 2024
1 parent d6737c2 commit 01bcdcd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ jobs:
sonarcloud:
name: SonarCloud
uses: ./.github/workflows/sonar-analysis.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/sonar-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Analyze Code Quality

on: workflow_call

env:
PYTHON_VERSION: '3.10'
on:
workflow_call:
secrets:
SONAR_TOKEN:
required: true

jobs:
sonarcloud:
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=222262_GB3_search-api
sonar.projectName=222262_GB3_search-api
sonar.projectKey=gisktzh_gb3-search_api
sonar.organization=gisktzh

# root path which is relative to the sonar-project.properties file location.
sonar.sources=.
Expand Down

0 comments on commit 01bcdcd

Please sign in to comment.