Skip to content

Commit

Permalink
Fix updating comments for applied plans
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Dec 7, 2023
1 parent 4421fa4 commit 3096e73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions image/entrypoints/apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ set-plan-args
PLAN_OUT="$STEP_TMP_DIR/plan.out"

function update_comment() {
local status="$1"

if ! github_pr_comment "$status" 2>"$STEP_TMP_DIR/github_pr_comment.stderr"; then
if ! github_pr_comment "$@" 2>"$STEP_TMP_DIR/github_pr_comment.stderr"; then
debug_file "$STEP_TMP_DIR/github_pr_comment.stderr"
else
debug_file "$STEP_TMP_DIR/github_pr_comment.stderr"
Expand Down

0 comments on commit 3096e73

Please sign in to comment.