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