From 6c698b766698f79711f796d24f4c6ca4ab53749b Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 22 Jun 2024 07:30:45 -0600 Subject: [PATCH] Run Jenkins security scan with Java 21 --- .github/workflows/jenkins-security-scan.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 7d11639854..72113857ce 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.