Copilot commented on code in PR #3920:
URL: https://github.com/apache/texera/pull/3920#discussion_r2438189648


##########
.github/ISSUE_TEMPLATE/task-template.yaml:
##########
@@ -57,11 +57,8 @@ body:
         - label: Testing / QA
         - label: DevOps / Deployment
 
-  - type: checkboxes
-    id: terms
+  - type: markdown
     attributes:
       label: Code of Conduct

Review Comment:
   For type: markdown in GitHub Issue Forms, only attributes.value is used; 
attributes.label is ignored. Please remove the label field to adhere to the 
schema and avoid confusion.
   ```suggestion
   
   ```



##########
.github/ISSUE_TEMPLATE/task-template.yaml:
##########
@@ -57,11 +57,8 @@ body:
         - label: Testing / QA
         - label: DevOps / Deployment
 
-  - type: checkboxes
-    id: terms
+  - type: markdown
     attributes:
       label: Code of Conduct
-      description: By submitting this issue, you agree to follow [Apache Code 
of Conduct](https://www.apache.org/foundation/policies/conduct).
-      options:
-        - label: I agree to follow Apache Code of Conduct
-          required: true
+      value: |
+        By submitting this issue, you agree to follow the [Apache Code of 
Conduct](https://www.apache.org/foundation/policies/conduct). 

Review Comment:
   There is trailing whitespace at the end of this line. Removing it keeps the 
YAML clean and avoids lint warnings.
   ```suggestion
           By submitting this issue, you agree to follow the [Apache Code of 
Conduct](https://www.apache.org/foundation/policies/conduct).
   ```



##########
.github/ISSUE_TEMPLATE/feature-template.yaml:
##########
@@ -70,11 +70,8 @@ body:
         - Deployment / Infrastructure
         - Other
 
-  - type: checkboxes
-    id: terms
+  - type: markdown
     attributes:
       label: Code of Conduct

Review Comment:
   Markdown blocks in GitHub Issue Forms should only define attributes.value; 
attributes.label has no effect. Remove the label line to align with the 
supported schema.
   ```suggestion
   
   ```



##########
.github/ISSUE_TEMPLATE/bug-template.yaml:
##########
@@ -74,11 +74,10 @@ body:
       label: Relevant log output
       description: Please copy and paste any relevant log output. This will be 
automatically formatted into code, so no need for backticks.
       render: shell
-  - type: checkboxes
-    id: terms
+
+  - type: markdown
     attributes:
       label: Code of Conduct

Review Comment:
   For markdown items, attributes.label isn't used by GitHub Issue Forms; only 
attributes.value is rendered. Please remove the label field.
   ```suggestion
   
   ```



##########
.github/ISSUE_TEMPLATE/bug-template.yaml:
##########
@@ -74,11 +74,10 @@ body:
       label: Relevant log output
       description: Please copy and paste any relevant log output. This will be 
automatically formatted into code, so no need for backticks.
       render: shell
-  - type: checkboxes
-    id: terms
+
+  - type: markdown
     attributes:
       label: Code of Conduct
-      description: By submitting this issue, you agree to follow [Apache Code 
of Conduct](https://www.apache.org/foundation/policies/conduct). 
-      options:
-        - label: I agree to follow Apache Code of Conduct
-          required: true
+      value: |
+        By submitting this issue, you agree to follow the [Apache Code of 
Conduct](https://www.apache.org/foundation/policies/conduct). 
+  

Review Comment:
   Line 82 has trailing whitespace and line 83 is a whitespace-only line. 
Please remove trailing spaces and the extra blank line to avoid lint noise.
   ```suggestion
           By submitting this issue, you agree to follow the [Apache Code of 
Conduct](https://www.apache.org/foundation/policies/conduct).
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to