SP-1022 | Update Semgrep configuration

This commit is contained in:
security user
2024-10-09 18:08:02 +05:30
parent fbfac786c4
commit 2fc631e292

View File

@@ -15,13 +15,13 @@ on:
jobs: jobs:
central-semgrep: central-semgrep:
name: Static code Analysis name: Static code Analysis
uses: navi-infosec/central-semgrep-action/.github/workflows/central-semgrep.yml@master uses: navi-infosec/central-semgrep-action/.github/workflows/central-semgrep.yml@using-token
with: with:
github-event-number: ${{github.event.number}} github-event-number: ${{github.event.number}}
github-event-name: ${{github.event_name}} github-event-name: ${{github.event_name}}
github-repository: ${{github.repository}} github-repository: ${{github.repository}}
secrets: secrets:
READ_SEMGREP_RULES: ${{secrets.READ_SEMGREP_RULES}} READ_SEMGREP_RULES_TOKEN: ${{secrets.READ_SEMGREP_RULES_TOKEN}}
run-if-failed: run-if-failed:
runs-on: [ self-hosted ] runs-on: [ self-hosted ]