mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
6903d52dde
* Added horusec * Improving aesthetics * Restrict branch
22 lines
688 B
YAML
22 lines
688 B
YAML
name: Horusec Security Scan
|
|
|
|
on:
|
|
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@v2
|
|
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 -t="10000" -p="./" -e="true" -i="**/crypto/bls/herumi/**, **/**/*_test.go, **/third_party/afl/**, **/crypto/keystore/key.go" |