From 05e0f2fb02419df829e831447e02063b50f65eef Mon Sep 17 00:00:00 2001 From: Bernie White Date: Thu, 2 Nov 2023 19:46:04 +1000 Subject: [PATCH] Upload codeql SARIF (#1653) --- .github/workflows/analyze.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index 7a1537f4d6..eebd9771b5 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -107,3 +107,13 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + id: codeql-analyze + + - name: Upload results + uses: actions/upload-artifact@v3 + if: always() + with: + name: CodeQL-Sarif + path: ${{ steps.codeql-analyze.outputs.sarif-output }} + retention-days: 1 + if-no-files-found: error