File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
22
23
23
jobs :
24
24
release :
25
+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
25
26
permissions :
26
27
contents : write
27
28
pull-requests : write
37
38
release-title : Adyen Java API Library
38
39
pre-release : ${{ inputs.pre-release || false }}
39
40
github-release : ${{ inputs.github-release || false }}
40
- separator : .pre.beta
41
+ separator : .pre.beta
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
pull_request :
8
- types : [opened, synchronize, reopened]
8
+ types : [ opened, synchronize, reopened ]
9
9
10
10
jobs :
11
11
SonarCloud-Build :
@@ -32,10 +32,15 @@ jobs:
32
32
path : ~/.m2
33
33
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
34
34
restore-keys : ${{ runner.os }}-m2
35
+
36
+ - name : Run Checkstyle
37
+ run : mvn checkstyle:check
38
+
35
39
- name : Generate coverage report
36
40
run : mvn test jacoco:report
37
41
38
42
- name : Run SonarCloud Analysis
43
+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
39
44
env :
40
45
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
46
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments