Skip to content

Commit

Permalink
Uncomment upload sarif step in security workflow
Browse files Browse the repository at this point in the history
- Uncomment upload sarif as cosmos/gosec#38 is fixed
  • Loading branch information
v-homsi committed Sep 20, 2022
1 parent f34bb25 commit 60478f3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:
# we let the report trigger content trigger a failure using the GitHub Security features.
args: "-no-fail -fmt sarif -out results.sarif ./..."
if: "env.GIT_DIFF_FILTERED != ''"
# TODO uncomment below when https://github.com/cosmos/gosec/issues/38 is resolved
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v2
# with:
# # Path to SARIF file relative to the root of the repository
# sarif_file: results.sarif
# if: "env.GIT_DIFF_FILTERED != ''"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
if: "env.GIT_DIFF_FILTERED != ''"

0 comments on commit 60478f3

Please sign in to comment.