Skip to content

Commit 6903d52

Browse files
Added horusec (#10499)
* Added horusec * Improving aesthetics * Restrict branch
1 parent ac8d27b commit 6903d52

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/horusec.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Horusec Security Scan
2+
3+
on:
4+
schedule:
5+
# Runs cron at 16.00 UTC on
6+
- cron: '0 0 * * SUN'
7+
8+
jobs:
9+
Horusec_Scan:
10+
name: horusec-Scan
11+
runs-on: ubuntu-latest
12+
if: github.ref == 'refs/heads/develop'
13+
steps:
14+
- name: Check out code
15+
uses: actions/checkout@v2
16+
with: # Required when commit authors is enabled
17+
fetch-depth: 0
18+
19+
- name: Running Security Scan
20+
run: |
21+
curl -fsSL https://raw.githubusercontent.com/ZupIT/horusec/main/deployments/scripts/install.sh | bash -s latest
22+
horusec start -t="10000" -p="./" -e="true" -i="**/crypto/bls/herumi/**, **/**/*_test.go, **/third_party/afl/**, **/crypto/keystore/key.go"

0 commit comments

Comments
 (0)