SP-1022 | Update Semgrep Configuration | Auto merge semgrep file #28

SP-1022 | Update Semgrep Configuration
This commit is contained in:
Security Bot
2024-12-18 21:38:23 +05:30
committed by GitHub

View File

@@ -6,6 +6,8 @@ on:
branches:
- master
- main
- develop
- portal
# Schedule this job to run at a certain time, using cron syntax
# Note that * is a special character in YAML so you have to quote this string
@@ -20,11 +22,13 @@ jobs:
github-event-number: ${{github.event.number}}
github-event-name: ${{github.event_name}}
github-repository: ${{github.repository}}
github-pr_owner_name: ${{github.event.pull_request.user.login}}
secrets:
READ_SEMGREP_RULES_TOKEN: ${{secrets.READ_SEMGREP_RULES_TOKEN}}
EMAIL_FETCH_TOKEN: ${{secrets.EMAIL_FETCH_TOKEN}}
run-if-failed:
runs-on: [ self-hosted ]
runs-on: [ self-hosted, Linux ]
needs: [central-semgrep]
if: always() && (needs.semgrep.result == 'failure')
steps:
@@ -38,4 +42,4 @@ jobs:
- name: Assign Reviewers
if: ${{ ( github.event.number != '' ) }}
uses: navi-infosec/security-oncall-action@v1.1
uses: navi-infosec/security-oncall-action@v1.1