From 77f905e11f8f3764bf3d8d639f79a3e2bbb2e185 Mon Sep 17 00:00:00 2001 From: Cristian Cotovanu Date: Sat, 19 Oct 2024 13:50:51 +0300 Subject: [PATCH] chore: change pwsh to be OS agnostic instead of powershell.exe windows only --- .github/workflows/jenkins-security-scan.yml | 21 +++++++++++++++++++++ pom.xml | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/jenkins-security-scan.yml diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml new file mode 100644 index 0000000..de71949 --- /dev/null +++ b/.github/workflows/jenkins-security-scan.yml @@ -0,0 +1,21 @@ +name: Jenkins Security Scan + +on: + push: + branches: + - develop + pull_request: + types: [ opened, synchronize, reopened ] + workflow_dispatch: + +permissions: + security-events: write + contents: read + actions: read + +jobs: + security-scan: + 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: 11 # Optionally specify what version of Java to set up for the build, or remove to use a recent default. \ No newline at end of file diff --git a/pom.xml b/pom.xml index c999f5e..e3e44cc 100644 --- a/pom.xml +++ b/pom.xml @@ -122,8 +122,8 @@ - - + +