Skip to content

Commit e45cd47

Browse files
Update Jenkins Security Scan action (#281)
1 parent 241addb commit e45cd47

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/jenkins-security-scan.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on:
77
types: [ opened, synchronize, reopened ]
88
workflow_dispatch:
99

10+
permissions:
11+
security-events: write
12+
contents: read
13+
actions: read
14+
1015
jobs:
1116
security-scan:
1217
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
1318
with:
14-
java-cache: 'maven'
15-
java-version: 17 # What version of Java to set up for the build.
19+
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
20+
# java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.

0 commit comments

Comments
 (0)