From ccbb62b50a7d049f024f00261297cf2644b9deb1 Mon Sep 17 00:00:00 2001 From: "Hussam.lawen" Date: Mon, 13 Nov 2023 13:47:06 +0200 Subject: [PATCH 1/2] remove the "one or more" for custom labels --- pr_agent/settings/pr_custom_labels.toml | 2 +- pr_agent/settings/pr_description_prompts.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/settings/pr_custom_labels.toml b/pr_agent/settings/pr_custom_labels.toml index f295798a..214d97a6 100644 --- a/pr_agent/settings/pr_custom_labels.toml +++ b/pr_agent/settings/pr_custom_labels.toml @@ -16,7 +16,7 @@ You must use the following YAML schema to format your answer: PR Type: type: array {%- if enable_custom_labels %} - description: One or more labels that describe the PR type. Don't output the description in the parentheses. + description: Labels that describe the PR type. Don't output the description in the parentheses. If none of the labels is relevant to the PR, output an empty array. {%- endif %} items: type: string diff --git a/pr_agent/settings/pr_description_prompts.toml b/pr_agent/settings/pr_description_prompts.toml index cfb42948..761c36c1 100644 --- a/pr_agent/settings/pr_description_prompts.toml +++ b/pr_agent/settings/pr_description_prompts.toml @@ -30,7 +30,7 @@ PR Type: {%- if enable_custom_labels %} PR Labels: type: array - description: One or more labels that describe the PR labels. Don't output the description in the parentheses. + description: Labels that are applicable to the Pull Request. Don't output the description in the parentheses. If none of the labels is relevant to the PR, output an empty array. items: type: string enum: From a5e5a829525bb71400c5fb0f78df801244feb2cb Mon Sep 17 00:00:00 2001 From: "Hussam.lawen" Date: Mon, 13 Nov 2023 13:49:16 +0200 Subject: [PATCH 2/2] s --- pr_agent/settings/pr_custom_labels.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/settings/pr_custom_labels.toml b/pr_agent/settings/pr_custom_labels.toml index 214d97a6..1dbb6f8d 100644 --- a/pr_agent/settings/pr_custom_labels.toml +++ b/pr_agent/settings/pr_custom_labels.toml @@ -16,7 +16,7 @@ You must use the following YAML schema to format your answer: PR Type: type: array {%- if enable_custom_labels %} - description: Labels that describe the PR type. Don't output the description in the parentheses. If none of the labels is relevant to the PR, output an empty array. + description: Labels that are applicable to the Pull Request. Don't output the description in the parentheses. If none of the labels is relevant to the PR, output an empty array. {%- endif %} items: type: string