Skip to content

Commit

Permalink
fix(ci): Uncomment upload sarif step in security workflow (#908)
Browse files Browse the repository at this point in the history
Uncomment upload sarif step in security workflow

- Uncomment upload sarif as cosmos/gosec#38 is fixed

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
  • Loading branch information
niceDeve and fedekunze committed Sep 20, 2022
1 parent 5c676cd commit e4ae09a
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 e4ae09a

Please sign in to comment.