Skip to content

Commit

Permalink
Enable Jenkins Security Scan (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd authored Jul 23, 2024
1 parent 0168e58 commit 8377109
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_target:
types: [labeled]
workflow_dispatch:

permissions:
security-events: write
contents: read
actions: read

jobs:
security-scan:
if: (contains(github.event.pull_request.labels.*.name, 'safe to test') || github.event_name == 'push') && github.repository_owner != 'jenkinsci'
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
with:
java-cache: 'maven'

0 comments on commit 8377109

Please sign in to comment.