name: Jenkins Security Scan
on:
  push:
    branches:
      - master
  pull_request:
    types: [ opened, synchronize, reopened ]
  workflow_dispatch:

jobs:
  security-scan:
    uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
    with:
      java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
      java-version: 11 # What version of Java to set up for the build.

name: Jenkins Security Scan
on:
  push:
    branches:
      - master
  pull_request:
    types: [ opened, synchronize, reopened ]
  workflow_dispatch:

jobs:
  security-scan:
    uses: NotMyFault/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@set-output
    with:
      java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
      java-version: 11 # What version of Java to set up for the build.

Update security-workflow to my fork
Update security-workflow to my fork