Skip to content

Commit

Permalink
AB#101 fix: Adapt docker output to be compatible to GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannibaratta committed Dec 23, 2023
1 parent 282ce1c commit c3c0961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/validate-plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ exit_code=$?

if [ $exit_code -eq 0 ]; then
# No approval is required
echo "false" >> $OUTPUT
echo "approval_required=false" >> $OUTPUT
exit 0
elif [ $exit_code -eq 1 ]; then
# Approval is required
echo "true" >> $OUTPUT
echo "approval_required=true" >> $OUTPUT
exit 0
else
# TerraApprove exited with an error. Propagate the error.
Expand Down

0 comments on commit c3c0961

Please sign in to comment.