42
42
name : Save output contents
43
43
run : |
44
44
report_csv="$(cat $(ls -tr output.cve-bin-*.csv 2>/dev/null | tail -n1))" # last file generated
45
+ echo "Vulnerabilities stored in $report_csv"
45
46
report="${report_csv}.txt"
46
47
awk -F',' '{n=split($10, path, "/"); print $2,$3,$4,$5,path[n]}' "$report_csv" | column -t > "$report" # make the CSV nicer
47
48
echo "report_contents=$(cat $report)" >> "$GITHUB_OUTPUT"
@@ -63,18 +64,21 @@ jobs:
63
64
else
64
65
fixed="Yes"
65
66
fi
66
- echo fixed=$fixed" >> "$GITHUB_OUTPUT"
67
+ echo "fixed=$fixed" >> "$GITHUB_OUTPUT"
68
+ echo "Fixed=$fixed"
69
+ echo "${{ steps.check-new-version.outputs.latest_version }}"
70
+ echo "${{ needs.check-binary-outputs.report_contents }}"
67
71
68
- - name : Create Issue
69
- id : create-issue
70
- uses : dacbd/create-issue-action@main
71
- with :
72
- token : ${{ github.token }}
73
- title : |
74
- CVEs found in latest RIE release
75
- body : |
76
- ## CVEs found in latest RIE release:
77
- > **${{ needs.check-binary.outputs.report_contents }}**
72
+ # - name: Create Issue
73
+ # id: create-issue
74
+ # uses: dacbd/create-issue-action@main
75
+ # with:
76
+ # token: ${{ github.token }}
77
+ # title: |
78
+ # CVEs found in latest RIE release
79
+ # body: |
80
+ # ## CVEs found in latest RIE release:
81
+ # > **${{ needs.check-binary.outputs.report_contents }}**
78
82
79
- #### Is this fixed by updating to the latest Go version (${{steps.check-new-version.outputs.latest_version}})?):
80
- ${{ steps.check-new-version.outputs.fixed }}
83
+ # #### Is this fixed by updating to the latest Go version (${{steps.check-new-version.outputs.latest_version}})?):
84
+ # ${{ steps.check-new-version.outputs.fixed }}
0 commit comments