Skip to content

Commit

Permalink
Update Jenkins Security Scan action (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd authored Aug 8, 2024
1 parent 7c220c3 commit 2f3cb2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ on:
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: 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.

0 comments on commit 2f3cb2a

Please sign in to comment.