diff --git a/.github/workflows/codemsvc.yml b/.github/workflows/codemsvc.yml index 1972c754f6..a69792fe86 100644 --- a/.github/workflows/codemsvc.yml +++ b/.github/workflows/codemsvc.yml @@ -56,14 +56,7 @@ jobs: # ignoredPaths: ${{ github.workspace }}/dependencies;${{ github.workspace }}/test # Upload SARIF file to GitHub Code Scanning Alerts - #- name: Upload SARIF to GitHub - # uses: github/codeql-action/upload-sarif@v3.26.5 - # with: - # sarif_file: ${{ steps.run-analysis.outputs.sarif }} - - # Upload SARIF file as an Artifact to download and view - - name: Upload SARIF as an Artifact - uses: actions/upload-artifact@v4.3.6 + - name: Upload SARIF to GitHub + uses: github/codeql-action/upload-sarif@v3.26.5 with: - name: sarif-file - path: ${{ steps.run-analysis.outputs.sarif }} + sarif_file: ${{ steps.run-analysis.outputs.sarif }}