Skip to content

Commit 4d5f5e5

Browse files
committed
refactor: inline
1 parent 2fabccc commit 4d5f5e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/checkmarx.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ jobs:
8787
- name: Filter out repo level issues that github can't handle
8888
run: |
8989
mv ./cx_result.sarif ./cx_result.sarif.orig
90-
export REPO_URI="file:/README.md"
91-
jq --arg repo_uri "$REPO_URI" '.runs |= map(.results |= map(.locations |= map(if .physicalLocation.artifactLocation.uri == "" then .physicalLocation.artifactLocation.uri = $repo_uri else . end)))' cx_result.sarif.orig > cx_result.sarif
90+
jq '.runs |= map(.results |= map(.locations |= map(if .physicalLocation.artifactLocation.uri == "" then .physicalLocation.artifactLocation.uri = "file:/README.md" else . end)))' cx_result.sarif.orig > cx_result.sarif
9291
9392
# Upload results to github
9493
- name: Upload SARIF file

0 commit comments

Comments
 (0)