From 93a59dbfc6184f13d63879aad491cfd7266cd0ff Mon Sep 17 00:00:00 2001 From: priv <140729444+scriptprivate@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:49:34 -0300 Subject: [PATCH] update security-gate.yml --- .github/workflows/security-gate.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/security-gate.yml b/.github/workflows/security-gate.yml index 3957123..1a5c5b8 100644 --- a/.github/workflows/security-gate.yml +++ b/.github/workflows/security-gate.yml @@ -1,10 +1,6 @@ name: Security Gate - LESIS on: - push: - branches: - - main - - develop pull_request: branches: - main @@ -30,7 +26,7 @@ jobs: - name: Pull Docker image from GitHub Container Registry run: docker pull ghcr.io/instriq/security-gate/security-gate:latest - - name: Verify security alerts from dependabot + - name: Verify security alerts from GHAS run: | docker run ghcr.io/instriq/security-gate/security-gate:latest \ -t "$GITHUB_TOKEN" \ @@ -39,6 +35,6 @@ jobs: -h "$MAX_HIGH" \ -m "$MAX_MEDIUM" \ -l "$MAX_LOW" \ - --dependency-alerts - --secrets-alerts + --dependency-alerts \ + --secret-alerts \ --code-alerts