diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 2d4c12f..6f4676e 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -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 ]