Skip to content

Commit

Permalink
Update Security Workflow (#107)
Browse files Browse the repository at this point in the history
Signed-off-by: wilian <wilian.silva@zup.com.br>
  • Loading branch information
wiliansilvazup authored Oct 29, 2021
1 parent 5f26046 commit df9f68e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
HORUSEC_CLI_REPOSITORY_AUTHORIZATION: ${{ secrets.HORUSEC_CLI_REPOSITORY_AUTHORIZATION }}
HORUSEC_CLI_HORUSEC_API_URI: ${{ secrets.HORUSEC_CLI_HORUSEC_API_URI }}
HORUSEC_CLI_REPOSITORY_NAME: ${{ secrets.HORUSEC_CLI_REPOSITORY_NAME }}
REPOSITORY_OWNER: ${{ github.event.pull_request.head.repo.full_name }}
run: |
curl -fsSL https://raw.githubusercontent.com/ZupIT/horusec/master/deployments/scripts/install.sh | bash -s latest
horusec start -p . -e -G --show-vulnerabilities-types="Vulnerability, Risk Accepted"
curl -fsSL https://raw.githubusercontent.com/ZupIT/horusec/main/deployments/scripts/install.sh | bash -s latest
horusec start -p . -e=$(if [ "$REPOSITORY_OWNER" == "ZupIT/horusec" ]; then echo "true"; else echo "false"; fi) -G --show-vulnerabilities-types="Vulnerability, Risk Accepted"

0 comments on commit df9f68e

Please sign in to comment.