SIGINT-2119: synopsys-security-scan-plugin build leaving test files after running #386
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# More information about the Jenkins security scan can be found at the developer docs: https://www.jenkins.io/redirect/jenkins-security-scan/ | |
name: Jenkins Security Scan | |
on: | |
push: | |
branches: | |
- "master" | |
- "main" | |
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 # What version of Java to set up for the build. |