Skip to content

Commit 9fa1b09

Browse files
Remove hard-coded java-version in Security Scan (#126)
1 parent 19f41b8 commit 9fa1b09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/jenkins-security-scan.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Jenkins Security Scan
33
on:
44
push:
55
branches:
6-
- main
76
- master
87
pull_request:
98
types: [ opened, synchronize, reopened ]
@@ -19,4 +18,4 @@ jobs:
1918
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
2019
with:
2120
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
22-
java-version: 17 # What version of Java to set up for the build.
21+
# java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.

0 commit comments

Comments
 (0)