We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f477a commit e4b8184Copy full SHA for e4b8184
action.yml
@@ -55,14 +55,13 @@ runs:
55
if ! command -v bark &> /dev/null; then
56
BARK_CMD="$HOME/go/bin/bark"
57
fi
58
-
59
- $BARK_CMD -format ${{ inputs.format }} ${{ inputs.path }}
60
- exit_code=$?
61
+
+ $BARK_CMD -format ${{ inputs.format }} ${{ inputs.path }} || exit_code=$?
+ exit_code=${exit_code:-0}
62
if [ "${{ inputs.fail-on-findings }}" = "false" ]; then
63
echo "ℹ️ Bark scan completed (fail-on-findings: false)"
64
exit 0
65
66
67
- exit $exit_code
68
+ exit $exit_code
0 commit comments