File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- beta
7
+ pull_request :
8
+ types :
9
+ - opened
10
+ - reopened
11
+ - edited
12
+ - synchronize
13
+ branches :
14
+ - beta
7
15
8
16
concurrency :
9
17
group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change 76
76
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
77
77
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
78
78
79
+ sonarcloud :
80
+ name : SonarCloud
81
+ runs-on : ${{ matrix.os }}
82
+
83
+ strategy :
84
+ matrix :
85
+ os : [ubuntu-latest]
86
+ node : [20]
87
+
88
+ steps :
89
+ - uses : actions/checkout@v4
90
+ with :
91
+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
92
+ - name : SonarCloud Scan
93
+ uses : SonarSource/sonarcloud-github-action@master
94
+ env :
95
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
96
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
97
+
79
98
semantic-version :
80
99
name : Semantic Release
81
100
needs : install
You can’t perform that action at this time.
0 commit comments