diff --git a/.github/ISSUE_TEMPLATE/z-customer-feedback.yml b/.github/ISSUE_TEMPLATE/z-customer-feedback.yml index 3c785ba85ea..2c4da23ce1f 100644 --- a/.github/ISSUE_TEMPLATE/z-customer-feedback.yml +++ b/.github/ISSUE_TEMPLATE/z-customer-feedback.yml @@ -22,7 +22,6 @@ body: validations: required: true - type: textarea - id: feedback validations: required: true attributes: diff --git a/.github/policies/close-issues.yml b/.github/policies/close-issues.yml index 48629f242ff..c909a3b4efb 100644 --- a/.github/policies/close-issues.yml +++ b/.github/policies/close-issues.yml @@ -35,7 +35,7 @@ configuration: - removeLabel: label: needs-more-info triggerOnOwnActions: true - + - description: Close issues labeled 'code-of-conduct' if: - payloadType: Issues @@ -43,57 +43,3 @@ configuration: label: code-of-conduct then: - closeIssue - - - description: Close learn template issues with empty descriptions (spam). - if: - - payloadType: Issues - - or: - - bodyContains: - pattern: '### Description[\n\r]+\[Enter feedback here\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Escriba sus comentarios aquí\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Tapez vos commentaires ici\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Hier Feedback eingeben\][\n\r]+###' - isRegex: true - - bodyContains: - pattern: '### Description[\n\r]+\[Geri bildiriminizi buraya girin\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Ketikkan umpan balik di sini\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Immetti qui i commenti\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Voer hier feedback in\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Insira comentários aqui\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Введите отзыв здесь\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[اكتب ملاحظاتك هنا\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[在此处输入反馈\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[여기에 피드백 입력\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[フィードバックをこちらに入力してください\][\n\r]+###' - isRegex: True - - bodyContains: - pattern: '### Description[\n\r]+\[Skriv din feedback här\][\n\r]+###' - then: - - addLabel: 'needs-more-info' - - addReply: - reply: This issue has been automatically closed due to an empty issue description from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further. - - closeIssue