File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616name : " CodeQL"
1717
1818on :
19+ workflow_dispatch :
1920 push :
2021 branches : [ master ]
22+ paths-ignore :
23+ - ' **/workflows/*.yml'
24+ - ' !**/workflows/codeql-analysis.yml'
2125 pull_request :
26+ paths-ignore :
27+ - ' **/workflows/*.yml'
28+ - ' !**/workflows/codeql-analysis.yml'
2229 # The branches below must be a subset of the branches above
2330 branches : [ master ]
24- schedule :
25- - cron : ' 33 9 * * 4'
2631
2732permissions :
2833 contents : read
Original file line number Diff line number Diff line change 1515
1616name : Coverage
1717
18- on : [push, pull_request]
18+ on :
19+ workflow_dispatch :
20+ push :
21+ paths-ignore :
22+ - ' **/workflows/*.yml'
23+ - ' !**/workflows/coverage.yml'
24+ pull_request :
25+ paths-ignore :
26+ - ' **/workflows/*.yml'
27+ - ' !**/workflows/coverage.yml'
1928
2029permissions :
2130 contents : read
Original file line number Diff line number Diff line change 1515
1616name : Java CI
1717
18- on : [push, pull_request]
18+ on :
19+ workflow_dispatch :
20+ push :
21+ paths-ignore :
22+ - ' **/workflows/*.yml'
23+ - ' !**/workflows/maven.yml'
24+ pull_request :
25+ paths-ignore :
26+ - ' **/workflows/*.yml'
27+ - ' !**/workflows/maven.yml'
1928
2029permissions :
2130 contents : read
3039 os : [ubuntu-latest, windows-latest, macos-latest]
3140 java : [ 8, 11, 17, 21 ]
3241 experimental : [false]
33- # include:
42+ include :
43+ # Update java 8/ubuntu to add deploy step
44+ - java : 8
45+ os : ubuntu-latest
46+ experimental : false
47+ deploy : true
3448# - java: 22-ea
3549# os: ubuntu-latest
3650# experimental: true
5771 with :
5872 distribution : ' temurin'
5973 java-version : ${{ matrix.java }}
74+ # these values cause the plugin to set up the Maven settings.xml file
75+ server-id : apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml
76+ server-username : NEXUS_USER # env variable for username in deploy
77+ server-password : NEXUS_PW # env variable for token in deploy
6078 - name : Build with Maven
6179 run : mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false
80+ - name : Deploy SNAPSHOT using minimal build
81+ if : matrix.deploy
82+ env :
83+ NEXUS_USER : ${{ secrets.NEXUS_USER }}
84+ NEXUS_PW : ${{ secrets.NEXUS_PW }}
85+ run : >
86+ echo "Deploy SNAPSHOT" >> $GITHUB_STEP_SUMMARY;
87+ mvn --show-version --batch-mode --no-transfer-progress deploy -Dgpg.skip
88+ -DskipTests -Drat.skip -Djacoco.skip -Dcyclonedx.skip -Dspotbugs.skip -Dspdx.skip -Dpmd.skip
Original file line number Diff line number Diff line change 1616name : " Scorecards supply-chain security"
1717
1818on :
19+ workflow_dispatch :
1920 branch_protection_rule :
20- schedule :
21- - cron : " 30 1 * * 6" # Weekly on Saturdays
2221 push :
2322 branches : [ "master" ]
23+ paths-ignore :
24+ - ' **/workflows/*.yml'
25+ - ' !**/workflows/scorecards-analysis.yml'
2426
2527permissions : read-all
2628
You can’t perform that action at this time.
0 commit comments