Skip to content

Commit

Permalink
Merge pull request #41 from fortify/fortify_workflow_update
Browse files Browse the repository at this point in the history
Update fortify.yml
  • Loading branch information
dylanbthomas authored Sep 13, 2023
2 parents 2998449 + 732d5de commit 38eab02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fortify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ name: Fortify on Demand Scan

on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

Expand Down Expand Up @@ -43,9 +45,7 @@ jobs:
- name: Download Fortify ScanCentral Client
uses: fortify/gha-setup-scancentral-client@v2
- name: Package Code + Dependencies
run: scancentral package $PACKAGE_OPTS -o package.zip
env:
PACKAGE_OPTS: "-bt mvn -oss"
run: scancentral package -oss -o package.zip

# Start Fortify on Demand SAST scan and wait until results complete. For more information on FoDUploader commands, see https://github.com/fod-dev/fod-uploader-java
- name: Download Fortify on Demand Universal CI Tool
Expand Down

0 comments on commit 38eab02

Please sign in to comment.