From cd6a0f5cb2944e95a99ae2440f11cf004d9567b5 Mon Sep 17 00:00:00 2001 From: Akash Jyoti Sahoo Date: Tue, 19 Mar 2024 14:51:45 +0530 Subject: [PATCH] SP-893 | Update security_api_diff_monitor.yml (#10155) Co-authored-by: Shivam Goyal --- .github/workflows/security_api_diff_monitor.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/security_api_diff_monitor.yml b/.github/workflows/security_api_diff_monitor.yml index 1f427208cd..898eb3031a 100644 --- a/.github/workflows/security_api_diff_monitor.yml +++ b/.github/workflows/security_api_diff_monitor.yml @@ -19,13 +19,16 @@ jobs: steps: - name: Clean workspace uses: navi-synced-actions/automodality-clean-workspace@v1 - + + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: Check retrofit endpoints id: retrofit-endpoints uses: navi-infosec/retrofit-github-action@master with: - github-base-ref: ${{ github.event.pull_request.base.sha }} - github-head-ref: ${{ github.event.pull_request.head.sha }} + base-commit: ${{ github.event.pull_request.base.sha }} slack-webhook: ${{ secrets.SECURITY_API_MONITOR_SLACK_WEBHOOK }} - name: Find Comment