From 11d20a61a8c2a3bb0314c191fd8f421842f136f4 Mon Sep 17 00:00:00 2001 From: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:42:24 +0200 Subject: [PATCH] Remove hard-coded java-version in Security Scan --- .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 7d116398..c7b41fc2 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 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.