diff --git a/security-actions/scan-rust/action.yml b/security-actions/scan-rust/action.yml index d7f0a4c1..0ac20832 100644 --- a/security-actions/scan-rust/action.yml +++ b/security-actions/scan-rust/action.yml @@ -62,7 +62,7 @@ runs: - name: Publish SARIF to github code scanning if: ${{ always() && inputs.codeql_upload == 'true' && github.event.repository.visibility == 'public' }} continue-on-error: true - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan.outputs.sarif }} category: sca_rust diff --git a/security-actions/semgrep/action.yml b/security-actions/semgrep/action.yml index 8f9695f3..0d5b37c9 100644 --- a/security-actions/semgrep/action.yml +++ b/security-actions/semgrep/action.yml @@ -45,7 +45,7 @@ runs: - name: Upload SARIF to Github Code Scanning if: ${{ always() && inputs.codeql_upload == 'true' && github.event.repository.visibility == 'public' }} - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: # Path to SARIF file relative to the root of the repository sarif_file: semgrep_${{github.sha}}.sarif