File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 35
35
npm run test:cov
36
36
dir : ${{ matrix.dir }}
37
37
repository : bcgov/nr-quickstart-typescript
38
- sonar_args : |
38
+ sonar_args : >
39
39
-Dsonar.exclusions=**/coverage/**,**/node_modules/**
40
40
-Dsonar.organization=bcgov-nr
41
41
-Dsonar.projectKey=bcgov-nr_action-test-and-analyse_${{ matrix.dir }}
Original file line number Diff line number Diff line change @@ -75,25 +75,25 @@ runs:
75
75
# If sonar_project_token and sonar_comment_token, then run with comments
76
76
- name : SonarCloud Scan
77
77
if : inputs.sonar_project_token && inputs.sonar_comment_token
78
- uses : SonarSource/sonarcloud-github-action@master
78
+ uses : SonarSource/sonarcloud-github-action@v1.7
79
79
env :
80
80
GITHUB_TOKEN : ${{ inputs.sonar_comment_token }}
81
81
SONAR_TOKEN : ${{ inputs.sonar_project_token }}
82
82
with :
83
83
projectBaseDir : ${{ inputs.dir }}
84
- args :
84
+ args : >
85
85
-Dsonar.pullrequest.github.summary_comment=true -Dsonar.project.monorepo.enabled=true
86
86
${{ inputs.sonar_args }}
87
87
88
88
# If sonar_project_token and not sonar_comment_token, then run without comments
89
89
- name : SonarCloud Scan
90
90
if : inputs.sonar_project_token && ! inputs.sonar_comment_token
91
- uses : SonarSource/sonarcloud-github-action@master
91
+ uses : SonarSource/sonarcloud-github-action@v1.7
92
92
env :
93
93
SONAR_TOKEN : ${{ inputs.sonar_project_token }}
94
94
with :
95
95
projectBaseDir : ${{ inputs.dir }}
96
- args :
96
+ args : >
97
97
-Dsonar.pullrequest.github.summary_comment=false -Dsonar.project.monorepo.enabled=true
98
98
${{ inputs.sonar_args }}
99
99
You can’t perform that action at this time.
0 commit comments