File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,13 @@ name: Fortify on Demand Scan
55on :
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
1016jobs :
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
You can’t perform that action at this time.
0 commit comments