File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
echo "report_contents<<EOF" >> "$GITHUB_OUTPUT"
41
41
cat "$final_report" >> "$GITHUB_OUTPUT"
42
42
echo "EOF" >> "$GITHUB_OUTPUT"
43
- - if : always() && steps.check-binaries.outcome == 'failure'
43
+ - if : always() && steps.save-output.outputs.report_contents
44
44
name : Build new binaries and check vulnerabilities again
45
45
id : check-new-version
46
46
run : |
50
50
latest_version=$(strings bin/aws-lambda-rie* | grep '^go1\.' | sort | uniq)
51
51
echo "latest_version=$latest_version" >> "$GITHUB_OUTPUT"
52
52
make check-binaries
53
- - if : always() && steps.check-binaries.outcome == 'failure'
53
+ - if : always() && steps.save-output.outputs.report_contents
54
54
name : Save outputs for the check with the latest build
55
55
id : save-new-version
56
56
run : |
60
60
fixed="Yes"
61
61
fi
62
62
echo "fixed=$fixed" >> "$GITHUB_OUTPUT"
63
- - if : always() && steps.check-binaries.outcome == 'failure'
63
+ - if : always() && steps.save-output.outputs.report_contents
64
64
name : Create GitHub Issue indicating vulnerabilities
65
65
id : create-issue
66
66
uses : dacbd/create-issue-action@main
You can’t perform that action at this time.
0 commit comments