This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/issue-templates
in repository https://gitbox.apache.org/repos/asf/beam.git

commit edf5e5476955136e5cbaa18ed9bcd6946e268958
Author: Danny McCormick <[email protected]>
AuthorDate: Tue Jul 23 15:22:08 2024 +0200

    Add infra option for remaining templates + autolabel
---
 .github/ISSUE_TEMPLATE/failing_test.yml | 2 ++
 .github/ISSUE_TEMPLATE/feature.yml      | 2 ++
 .github/ISSUE_TEMPLATE/task.yml         | 2 ++
 .github/issue-rules.yml                 | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/.github/ISSUE_TEMPLATE/failing_test.yml 
b/.github/ISSUE_TEMPLATE/failing_test.yml
index 44e1cd72074..4295624995f 100644
--- a/.github/ISSUE_TEMPLATE/failing_test.yml
+++ b/.github/ISSUE_TEMPLATE/failing_test.yml
@@ -56,6 +56,7 @@ body:
         - "Priority: 2 (backlog / disabled test but we think the product is 
healthy)"
         - "Priority: 1 (unhealthy code / failing or flaky postcommit so we 
cannot be sure the product is healthy)"
         - "Priority: 0 (outage / failing precommit test impacting development)"
+      default: 1
     validations:
       required: true
   - type: checkboxes
@@ -74,6 +75,7 @@ body:
        - label: "Component: Beam playground"
        - label: "Component: Beam katas"
        - label: "Component: Website"
+       - label: "Component: Infrastructure"
        - label: "Component: Spark Runner"
        - label: "Component: Flink Runner"
        - label: "Component: Samza Runner"
diff --git a/.github/ISSUE_TEMPLATE/feature.yml 
b/.github/ISSUE_TEMPLATE/feature.yml
index 11234a5e150..e47c7c0751c 100644
--- a/.github/ISSUE_TEMPLATE/feature.yml
+++ b/.github/ISSUE_TEMPLATE/feature.yml
@@ -44,6 +44,7 @@ body:
       options:
         - "Priority: 3 (nice-to-have improvement)"
         - "Priority: 2 (default / most feature requests should be filed as P2)"
+      default: 1
     validations:
       required: true
   - type: checkboxes
@@ -62,6 +63,7 @@ body:
        - label: "Component: Beam playground"
        - label: "Component: Beam katas"
        - label: "Component: Website"
+       - label: "Component: Infrastructure"
        - label: "Component: Spark Runner"
        - label: "Component: Flink Runner"
        - label: "Component: Samza Runner"
diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml
index 477b91b181b..8da74a65d8f 100644
--- a/.github/ISSUE_TEMPLATE/task.yml
+++ b/.github/ISSUE_TEMPLATE/task.yml
@@ -45,6 +45,7 @@ body:
         - "Priority: 3 (nice-to-have improvement)"
         - "Priority: 2 (default / most normal work should be filed as P2)"
         - "Priority: 1 (urgent / mostly reserved for critical bugs)"
+      default: 1
     validations:
       required: true
   - type: checkboxes
@@ -63,6 +64,7 @@ body:
        - label: "Component: Beam playground"
        - label: "Component: Beam katas"
        - label: "Component: Website"
+       - label: "Component: Infrastructure"
        - label: "Component: Spark Runner"
        - label: "Component: Flink Runner"
        - label: "Component: Samza Runner"
diff --git a/.github/issue-rules.yml b/.github/issue-rules.yml
index b01a22dafd7..c4acb294557 100644
--- a/.github/issue-rules.yml
+++ b/.github/issue-rules.yml
@@ -46,6 +46,8 @@ rules:
   addLabels: ['katas']
 - contains: '[x] Component: Website'
   addLabels: ['website']
+- contains: '[x] Component: Infrastructure'
+  addLabels: ['infra']
 - contains: '[x] Component: Spark'
   addLabels: ['spark']
 - contains: '[x] Component: Flink'

Reply via email to