Skip to content

Commit 00ff52f

Browse files
authored
Merge pull request #8 from MFB-Technologies-Inc/bugfix/7-sonarcloud-github-action-is-deprecated
7: sonarcloud GitHub action is deprecated
2 parents 8ef2a36 + 4d574c9 commit 00ff52f

File tree

5 files changed

+43
-34
lines changed

5 files changed

+43
-34
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: npm run test:ci
4040

4141
- name: SonarCloud Scan
42-
uses: sonarsource/sonarcloud-github-action@master
42+
uses: SonarSource/sonarqube-scan-action@v4
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"psi-header.templates": [
99
{
1010
"language": "*",
11-
"template": [" Copyright <<year>> <<company>>"]
11+
"template": [" Copyright <<company>>"]
1212
}
1313
],
1414
"psi-header.config": {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@mfbtech/changelog-generator",
5+
"comment": "Fix the sonar cloud step in the build action",
6+
"type": "PATCH"
7+
}
8+
]
9+
}

package-lock.json

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sonar.projectKey=changelog-generator
1+
sonar.projectKey=oss-mfbtech_mfbtech-changelog-generator
22
sonar.organization=oss-mfbtech
33

44
# This is the name and version displayed in the SonarCloud UI.

0 commit comments

Comments
 (0)