diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 7d11639..7211385 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -3,7 +3,6 @@ name: Jenkins Security Scan on: push: branches: - - main - master pull_request: types: [ opened, synchronize, reopened ] @@ -19,4 +18,4 @@ jobs: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. - java-version: 17 # What version of Java to set up for the build. + java-version: 21 # What version of Java to set up for the build.