Skip to content

Commit

Permalink
Enable Jenkins Security Scan (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: strangelookingnerd <[email protected]>
  • Loading branch information
strangelookingnerd authored Jun 24, 2024
1 parent cf57be9 commit de90bf9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Jenkins Security Scan

on:
push:
branches:
- 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: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.

0 comments on commit de90bf9

Please sign in to comment.