Skip to content

Commit

Permalink
rescheduled workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepdhiman123 committed Sep 2, 2020
1 parent 4918ce8 commit cb73b88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/repo_scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch

on:
schedule:
- cron: '00 7 * * *'

#on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]
# schedule:
# - cron: '00 7 * * *'

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:

# Runs scan
- name: Run Trufflehog3
run: python3 $GITHUB_WORKSPACE/git-scanner-config/repo_scanner.py $GITHUB_WORKSPACE/git-scanner-config/rules.yaml $GITHUB_WORKSPACE/git-scanner-config/batch.txt $GITHUB_WORKSPACE/git-scanner-config/config.yaml
run: python3 $GITHUB_WORKSPACE/git-scanner-config/repo_scanner.py $GITHUB_WORKSPACE/git-scanner-config/rules_mosip.yaml $GITHUB_WORKSPACE/git-scanner-config/batch.txt $GITHUB_WORKSPACE/git-scanner-config/config.yaml

# Zip complete report directory
- name: Zip the reports directory
Expand Down
1 change: 1 addition & 0 deletions mosip-security-playbook/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ testlevel: 'smoke'
host: '127.0.0.1'
port: '8090'


#OpenScap Variables
oscap_report_dir: '{{report_dir}}/oscap/'
oscap_profile: 'xccdf_org.ssgproject.content_profile_pci-dss'
Expand Down

0 comments on commit cb73b88

Please sign in to comment.