Add changes to test out Horusec #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Horusec Security Scan | |
on: [push] | |
# schedule: | |
# # Runs cron at 16.00 UTC on | |
# - cron: '0 0 * * SUN' | |
jobs: | |
Horusec_Scan: | |
name: horusec-Scan | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/develop' | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: # Required when commit authors is enabled | |
fetch-depth: 0 | |
- name: Running Security Scan | |
run: | | |
curl -fsSL https://raw.githubusercontent.com/ZupIT/horusec/main/deployments/scripts/install.sh | bash -s latest | |
horusec start -D -t="10000" -p="./" -e="true" -i="**/crypto/bls/herumi/**, **/**/*_test.go, **/third_party/afl/**, **/crypto/keystore/key.go" |