Skip to content

Commit e669b2c

Browse files
committed
chore: Ignore via sonar properties
1 parent 1916ed9 commit e669b2c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ jobs:
2020
id-token: write
2121
steps:
2222

23-
# sonarcloud-ignore githubactions:S7637
2423
- uses: actions/create-github-app-token@v2
2524
id: app-token
2625
with:
2726
app-id: ${{ vars.CI_APP_ID }}
2827
private-key: ${{ secrets.CI_PRIVATE_KEY }}
2928

3029
- name: Checkout
31-
# sonarcloud-ignore githubactions:S7637
3230
uses: actions/checkout@v5
3331
with:
3432
fetch-depth: 0
@@ -47,14 +45,12 @@ jobs:
4745
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
4846
4947
- name: Setup NodeJS
50-
# sonarcloud-ignore githubactions:S7637
5148
uses: actions/setup-node@v5
5249
with:
5350
node-version: "22"
5451
registry-url: "https://registry.npmjs.org"
5552

5653
- name: Setup Java
57-
# sonarcloud-ignore githubactions:S7637
5854
uses: actions/setup-java@v5
5955
with:
6056
distribution: "temurin" # As good as any other, see: https://github.com/actions/setup-java#supported-distributions
@@ -64,7 +60,6 @@ jobs:
6460
cache: "maven"
6561

6662
- name: Setup settings.xml
67-
# sonarcloud-ignore githubactions:S7637
6863
6964
with:
7065
override: true
@@ -117,7 +112,6 @@ jobs:
117112

118113
- name: Create Release on GH
119114
id: tag-and-release
120-
# sonarcloud-ignore githubactions:S7637
121115
uses: avakar/tag-and-release@v1
122116
with:
123117
draft: true
@@ -127,7 +121,6 @@ jobs:
127121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128122

129123
- name: Add SPI to github release
130-
# sonarcloud-ignore githubactions:S7637
131124
uses: actions/upload-release-asset@v1
132125
with:
133126
upload_url: ${{ steps.tag-and-release.outputs.upload_url }}

sonar-project.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sonar.issue.ignore.multicriteria=e1,e2,e3
2+
sonar.issue.ignore.multicriteria.e1.ruleKey=githubactions:S7636
3+
sonar.issue.ignore.multicriteria.e1.resourceKey=**/.github/workflows/**/*.yml
4+
sonar.issue.ignore.multicriteria.e2.ruleKey=githubactions:S7630
5+
sonar.issue.ignore.multicriteria.e2.resourceKey=**/.github/workflows/**/*.yml
6+
sonar.issue.ignore.multicriteria.e3.ruleKey=githubactions:S7637
7+
sonar.issue.ignore.multicriteria.e3.resourceKey=**/.github/workflows/**/*.yml

0 commit comments

Comments
 (0)