Skip to content

Commit 364bc67

Browse files
committed
ci: SonarCloud advisory (non-blocking main CI)
1 parent f95cdef commit 364bc67

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: SonarCloud
2+
on:
3+
push:
4+
branches: [main, master, develop]
5+
pull_request:
6+
branches: [main, master, develop]
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
permissions:
11+
contents: read
12+
jobs:
13+
sonar:
14+
runs-on: ubuntu-24.04
15+
continue-on-error: true
16+
steps:
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
18+
with:
19+
fetch-depth: 0
20+
- name: SonarCloud Scan
21+
uses: SonarSource/sonarqube-scan-action@aa2faad981ed3bc8524483b7dbb67bd4c88f84d4 # v6
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)