Skip to content

Commit 6e531d8

Browse files
Run fortify on push for master beta and release.
1 parent 9aec007 commit 6e531d8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/fortify.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ name: Fortify on Demand Scan
55
on:
66
workflow_dispatch:
77
push:
8-
branches: [ "master" ]
8+
branches:
9+
- 'master'
10+
- 'beta'
11+
- 'release-*'
12+
#Run at the end of every day
13+
schedule:
14+
- cron: '0 0 * * *'
915

1016
jobs:
1117
FoD-SAST-Scan:
@@ -15,14 +21,11 @@ jobs:
1521

1622
steps:
1723
# Check out source code
18-
- name: Check Out Source Code
24+
- name: Checkout repository
1925
uses: actions/checkout@v2
2026
with:
21-
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
22-
fetch-depth: 2
23-
# If this run was triggered by a pull request event, then checkout the head of the pull request instead of the merge commit.
24-
- run: git checkout HEAD^2
25-
if: ${{ github.event_name == 'pull_request' }}
27+
repository: ''
28+
2629
# Java 8 required by ScanCentral Client and FoD Uploader(Univeral CI Tool)
2730
- name: Setup Java
2831
uses: actions/setup-java@v1

0 commit comments

Comments
 (0)