File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2023, Oracle and/or its affiliates.
2
+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
+ #
1
4
name : Create Release
2
5
run-name : Creating draft release for ${{ github.ref_name }}
3
6
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2023, Oracle and/or its affiliates.
2
+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
+ #
4
+ name : Sonar Scan
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - ' main'
10
+ - ' develop*'
11
+
12
+ jobs :
13
+ sonar_scan :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
+ - name : Setup JDK 11
20
+ uses : actions/setup-java@v3
21
+ with :
22
+ distribution : ' oracle'
23
+ java-version : 11
24
+ - name : Sonar Scan
25
+ run : |
26
+ mvn -B sonar:sonar \
27
+ -Dsonar.branch.name=main
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 33
33
<properties >
34
34
<sonar .organization>oracle</sonar .organization>
35
35
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
36
+ <sonar .projectKey>oracle_weblogic-image-tool</sonar .projectKey>
36
37
37
38
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
38
39
<maven .compiler.source>1.8</maven .compiler.source>
You can’t perform that action at this time.
0 commit comments