From 7b57f40e03e840321a74fe23fb9077fdd11f9b30 Mon Sep 17 00:00:00 2001 From: matt <57604545+matt257@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:18:22 -0400 Subject: [PATCH] Update brakeman.yml --- .github/workflows/brakeman.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/brakeman.yml b/.github/workflows/brakeman.yml index f53de5332c..2c5292c6a0 100644 --- a/.github/workflows/brakeman.yml +++ b/.github/workflows/brakeman.yml @@ -53,10 +53,16 @@ jobs: - name: List output files run: ls -la - + + # Save the SARIF file as an Artifact, because github/codeql-action/upload-sarif@v3 doesn't seem to work + - name: Upload SARIF as an Artifact + uses: actions/upload-artifact@v2 + with: + name: brakeman-sarif-report + path: path/to/brakeman.sarif # Upload the SARIF file generated in the previous step - - name: Upload SARIF + - name: Upload SARIF uses: github/codeql-action/upload-sarif@v3 with: sarif_file: brakeman.sarif