File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 31
31
PREFERRED_LTS_VERSION : " 24.3"
32
32
33
33
jobs :
34
- static :
34
+ sonarcloud :
35
+ name : SonarCloud
35
36
runs-on : ubuntu-latest
37
+ permissions :
38
+ contents : read
39
+ pull-requests : write
36
40
timeout-minutes : 30
37
- name : Static code analysis
38
41
steps :
39
42
- name : Check out Git repository
40
43
uses : actions/checkout@v4
@@ -101,12 +104,7 @@ jobs:
101
104
ls -l ./client-v2/target/site/jacoco-aggregate/jacoco.xml
102
105
continue-on-error : true
103
106
- name : Generate and post coverage report
104
- # Add write permissions for pull-requests
105
- permissions :
106
- contents : read
107
- pull-requests : write
108
107
env :
109
- # Use the default GITHUB_TOKEN with the right permissions
110
108
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
111
109
run : |
112
110
pwd
You can’t perform that action at this time.
0 commit comments