davidradl commented on code in PR #26745:
URL: https://github.com/apache/flink/pull/26745#discussion_r2183112829


##########
.github/workflows/community-review.sh:
##########
@@ -394,6 +395,23 @@ JSONArrayLength() {
   echo "${jsonArray}" | jq 'length'
 }
 
+# =============================================================================
+# Retrieves existing label names on a Flink PR
+# Arguments:
+#   $1 - pr number to fetch labels from
+# =============================================================================
+call_github_get_labels_api() {
+  local prNumber="${1?missing pr number}"
+
+  local labels
+  labels=$(curl --fail --no-progress-meter -s \

Review Comment:
   nit: ```
   local labels
     labels=
   ```
   could be one line



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to