Skip to content

Commit

Permalink
Fix getting file name
Browse files Browse the repository at this point in the history
  • Loading branch information
valerena committed May 20, 2024
1 parent 4819c9a commit 46655ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
id: save-output
name: Save output contents
run: |
report_csv="$(cat $(ls -tr output.cve-bin-*.csv 2>/dev/null | tail -n1))" # last file generated
report_csv="$(ls -tr output.cve-bin-*.csv 2>/dev/null | tail -n1)" # last file generated
echo "Vulnerabilities stored in $report_csv"
report="${report_csv}.txt"
awk -F',' '{n=split($10, path, "/"); print $2,$3,$4,$5,path[n]}' "$report_csv" | column -t > "$report" # make the CSV nicer
Expand Down Expand Up @@ -80,5 +80,5 @@ jobs:
# ## CVEs found in latest RIE release:
# > **${{ needs.check-binary.outputs.report_contents }}**

# #### Is this fixed by updating to the latest Go version (${{steps.check-new-version.outputs.latest_version}})?):
# ${{ steps.check-new-version.outputs.fixed }}
# #### Is this fixed by just updating to the latest Go version (${{steps.check-new-version.outputs.latest_version}})?):
# **${{ steps.check-new-version.outputs.fixed }}**

0 comments on commit 46655ee

Please sign in to comment.