SP-1022 |Update Semgrep Workflow (#12990)

This commit is contained in:
security user
2024-10-10 11:02:57 +05:30
committed by GitHub
parent debe73e481
commit ea5eee9a60

View File

@@ -15,13 +15,13 @@ on:
jobs:
central-semgrep:
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:
github-event-number: ${{github.event.number}}
github-event-name: ${{github.event_name}}
github-repository: ${{github.repository}}
secrets:
READ_SEMGREP_RULES: ${{secrets.READ_SEMGREP_RULES}}
READ_SEMGREP_RULES_TOKEN: ${{secrets.READ_SEMGREP_RULES_TOKEN}}
run-if-failed:
runs-on: [ self-hosted ]