diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index fec2f56..c834de5 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -146,7 +146,7 @@ jobs: if ! label_exists_any "pr-check-blocked" "blocked"; then if ! comment_exists_any "$BUILD_START_COMMENT_PARTIAL" "$BUILD_SUCCESS_COMMENT"; then echo "PR is not marked as blocked and none of the build comments exist. Starting a build" - gh pr comment "$PR_NUM" --body "$BUILD_START_COMMENT" + gh pr comment "$PR_NUM" --body "$BUILD_START_COMMENT" || true fi fi } @@ -219,7 +219,7 @@ jobs: DOMAIN_COMMENT="$DOMAIN_COMMENT_PARTIAL $DOMAIN. $VERIF_COMMENT. Please comment if this incorrect." if ! comment_exists_full "$DOMAIN_COMMENT"; then echo "Did not find domain comment, commenting" - gh pr comment "$PR_NUM" --body "$DOMAIN_COMMENT" + gh pr comment "$PR_NUM" --body "$DOMAIN_COMMENT" || true fi fi fi @@ -234,14 +234,14 @@ jobs: start_build elif [ "$BLOCKED" -eq 1 ]; then echo "Marking as blocked" - gh pr edit "$PR_NUM" --add-label "pr-check-blocked" --remove-label "awaiting-review" + gh pr edit "$PR_NUM" --add-label "pr-check-blocked" --remove-label "awaiting-review" || true if ! comment_exists "$REVIEW_COMMENT_PARTIAL"; then echo "Did not find comment, commenting" REVIEW_COMMENT="$BASE_REVIEW_COMMENT" for line in "${REVIEW_COMMENT_LINES[@]}"; do REVIEW_COMMENT="$REVIEW_COMMENT"$'\n'"$line" done - gh pr comment "$PR_NUM" --body "$REVIEW_COMMENT" + gh pr comment "$PR_NUM" --body "$REVIEW_COMMENT" || true else echo "Found comment, skipping commenting" fi