Skip to content

Commit

Permalink
Make changes to test it on draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Taranpreet26311 committed Aug 30, 2024
1 parent 0dba9e9 commit 7d5f32d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/horusec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Horusec Security Scan

on:
schedule:
# Runs cron at 16.00 UTC on
- cron: '*/10 * * * *'
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
Horusec_Scan:
name: horusec-Scan
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
if: github.event.pull_request.draft == true
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -19,4 +18,4 @@ jobs:
- 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"
horusec start -D -t="10000" -p="./" -e="true" -i="**/crypto/bls/herumi/**, **/**/*_test.go, **/third_party/afl/**, **/crypto/keystore/key.go"

0 comments on commit 7d5f32d

Please sign in to comment.