Skip to content

Commit 55fcb30

Browse files
committed
adicao do sonarqube
1 parent d1435b9 commit 55fcb30

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Master Quality
2+
3+
on:
4+
push:
5+
branches:
6+
- qa
7+
8+
jobs:
9+
sonar:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
17+
- name: SonarQube Scan
18+
uses: SonarSource/sonarqube-scan-action@v6
19+
env:
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
21+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
22+
23+
- name: Quality Gate
24+
uses: SonarSource/sonarqube-quality-gate-action@v1
25+
env:
26+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sonar.projectKey=scieloorg_analytics_4a20e8f9-071e-49c0-b926-0e6811b8472a

0 commit comments

Comments
 (0)