Skip to content

Commit

Permalink
Update security-gate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea authored Sep 2, 2024
1 parent 4e712e2 commit 66551c4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/security-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
env:
MAX_CRITICAL: 0
MAX_HIGH: 0
MAX_MEDIUM: 0
MAX_LOW: 0
MAX_CRITICAL: 1
MAX_HIGH: 2
MAX_MEDIUM: 3
MAX_LOW: 4
GITHUB_TOKEN: ${{ secrets.TOKEN }}
steps:
- name: Checkout repository
Expand All @@ -31,4 +32,7 @@ jobs:
--critical $MAX_CRITICAL \
--high $MAX_HIGH \
--medium $MAX_MEDIUM \
--low $MAX_LOW
--low $MAX_LOW \
--dependency-alerts \
--code-alerts \
--secret-alerts

0 comments on commit 66551c4

Please sign in to comment.