Skip to content

Commit 57f4f5f

Browse files
NotMyFaulttimja
andauthored
Add Jenkins security scan to common files (#597)
* Add Jenkins security scan to common files * Update common-files/.github/workflows/jenkins-security-scan.yml Co-authored-by: Tim Jacomb <[email protected]> --------- Co-authored-by: Tim Jacomb <[email protected]>
1 parent 1f2aabc commit 57f4f5f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# More information about the Jenkins security scan can be found at the developer docs: https://www.jenkins.io/doc/developer/security/scan/
2+
3+
name: Jenkins Security Scan
4+
on:
5+
push:
6+
branches:
7+
- "master"
8+
- "main"
9+
pull_request:
10+
types: [ opened, synchronize, reopened ]
11+
workflow_dispatch:
12+
13+
permissions:
14+
security-events: write
15+
contents: read
16+
actions: read
17+
18+
jobs:
19+
security-scan:
20+
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
21+
with:
22+
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
23+
java-version: 11 # What version of Java to set up for the build.

0 commit comments

Comments
 (0)