diff --git a/.github/workflows/fortify-net-framework.yml b/.github/workflows/fortify-net-framework.yml index 05c1c7b7e..0c37aa982 100644 --- a/.github/workflows/fortify-net-framework.yml +++ b/.github/workflows/fortify-net-framework.yml @@ -1,17 +1,18 @@ name: Fortify on Demand Scan (.NET Framework) -# TODO: Customize trigger events based on your DevSecOps processes and typical FoD SAST scan time +# Run FoD SAST on each pull request and on merge to master, beta and release. on: workflow_dispatch: + pull_request: + branches: + - 'master' + - 'release-*' push: branches: - 'master' - 'beta' - 'release-*' - #Run at the end of every day - schedule: - - cron: '0 0 * * *' jobs: FoD-SAST-Scan: diff --git a/.github/workflows/fortify.yml b/.github/workflows/fortify.yml index 14adeea28..4da890cd9 100644 --- a/.github/workflows/fortify.yml +++ b/.github/workflows/fortify.yml @@ -1,17 +1,18 @@ name: Fortify on Demand Scan (.NET) -# TODO: Customize trigger events based on your DevSecOps processes and typical FoD SAST scan time +# Run FoD SAST on each pull request and on merge to master, beta and release. on: workflow_dispatch: + pull_request: + branches: + - 'master' + - 'release-*' push: branches: - 'master' - 'beta' - 'release-*' - #Run at the end of every day - schedule: - - cron: '0 0 * * *' jobs: FoD-SAST-Scan: