File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 77 - release**
88 pull_request :
99 types : [opened, synchronize, reopened]
10- name : SonarCloud
10+ workflow_dispatch :
11+
12+ name : SonarCloud analysis
1113jobs :
12- sonarcloud :
13- name : SonarCloud
14+ sonarqube :
15+ name : SonarQube
1416 runs-on : ubuntu-latest
1517 if : ${{ github.repository_owner == 'Sofie-Automation' && !github.event.pull_request.head.repo.fork }}
1618 timeout-minutes : 15
@@ -38,14 +40,13 @@ jobs:
3840 - name : Prepare Environment
3941 run : |
4042 corepack enable
41-
43+
44+ yarn config set cacheFolder /home/runner/lint-core-cache
4245 yarn
4346 yarn build:packages
4447 env :
4548 CI : true
46-
47- - name : SonarCloud Scan
48- uses : sonarsource/sonarcloud-github-action@main
49+ - name : SonarQube Scan
50+ uses : SonarSource/sonarqube-scan-action@v6
4951 env :
50- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5152 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1- sonar.projectKey =nrkno_sofie -core
2- sonar.organization =nrkno
1+ sonar.projectKey =Sofie-Automation_sofie -core
2+ sonar.organization =sofie-automation
33
44# This is the name and version displayed in the SonarCloud UI.
55# sonar.projectName=sofie-core
@@ -37,4 +37,4 @@ sonar.issue.ignore.multicriteria.switchstatement3cases.resourceKey=**/*
3737
3838# Prefer using an optional chain expression instead, as it's more concise and easier to read
3939sonar.issue.ignore.multicriteria.preferoptionalchain.ruleKey =typescript:S6582
40- sonar.issue.ignore.multicriteria.preferoptionalchain.resourceKey =**/*
40+ sonar.issue.ignore.multicriteria.preferoptionalchain.resourceKey =**/*
You can’t perform that action at this time.
0 commit comments