Skip to content

Commit

Permalink
fix: grept apply (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
matt-FFFFFF and github-actions[bot] authored Apr 5, 2024
1 parent 126b8a1 commit 2b7288c
Show file tree
Hide file tree
Showing 5 changed files with 522 additions and 13 deletions.
15 changes: 3 additions & 12 deletions .github/ISSUE_TEMPLATE/avm_module_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ body:
- type: markdown
attributes:
value: |
Thank you for submitting this AVM Module Issue!
Thank you for submitting this AVM Module Issue! To help us triage your issue, please provide the below details.
To help us triage your issue, please provide the below details.
> **NOTE**: If you'd like to propose a new AVM module, please follow the process described in the [AVM repo](https://aka.ms/AVM/ModuleProposal).
> **NOTE**: If you'd like to propose a new AVM module, please file an [AVM Module Proposal](https://aka.ms/AVM/ModuleProposal).
- type: checkboxes
id: existing-checks
attributes:
Expand All @@ -20,20 +18,13 @@ body:
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: checkboxes
id: module-specific-checks
attributes:
label: Module specific issue
description: By submitting this issue, you confirm that this issue is about this AVM module and not about the resource itself, or how to use Terraform.
options:
- label: I confirm that this issue is about this AVM module and not about the resource itself, or how to use Terraform.
required: true
- type: dropdown
id: issue-type
attributes:
label: Issue Type?
description: How would you best describe this issue? Is this a...
options:
- ""
- "Feature Request"
- "Bug"
- "Security Bug"
Expand Down
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/avm_question_feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: AVM - General Question/Feedback ❔
description: Just got a question or some general feedback? Let us know!
title: "[AVM Question/Feedback]: "
labels:
[
"Language: Terraform :globe_with_meridians:",
"Type: Question/Feedback :raising_hand:",
"Needs: Triage :mag:",
]
projects: ["Azure/538"]
body:
- type: markdown
attributes:
value: |
Thank you for your question/feedback!
> **NOTE**: If your question/request is related to the AVM site/documentation, please file an issue in the [AVM repo](https://github.com/Azure/Azure-Verified-Modules/issues/new?assignees=&labels=Type%3A+Question%2FFeedback+%3Araising_hand%3A%2CNeeds%3A+Triage+%3Amag%3A&projects=&template=question_feedback.yml&title=%5BQuestion%2FFeedback%5D%3A+).
- type: checkboxes
id: existing-checks
attributes:
label: Check for previous/existing GitHub issues
description: By submitting this issue, you confirm that you have searched for previous/existing GitHub issues to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
required: true
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Let us know your question or feedback here!
validations:
required: true
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
---
blank_issues_enabled: true
contact_links:
- name: New AVM Module Proposal 📝
url: https://aka.ms/AVM/ModuleProposal
about: Want a new AVM Module to exist? Let us know!
204 changes: 204 additions & 0 deletions .github/policies/eventResponder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
id: avmEventResponder
name: AVM Event Responder
description: AVM Event Responder
resource: repository
disabled: false

configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: 'ITA06 - If a new issue or PR is opened add the "Needs: Triage :mag:" label'
if:
- or:
- payloadType: Issues
- payloadType: Pull_Request
- isAction:
action: Opened
then:
- addLabel:
label: "Needs: Triage :mag:"
- addReply:
reply: |
> [!IMPORTANT]
> **The "Needs: Triage :mag:" label must be removed once the triage process is complete!**
<!--
> [!TIP]
> For additional guidance on how to triage this issue/PR, see the [TF Issue Triage](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/tf-issue-triage/) documentation.
-->
> [!NOTE]
> This label was added as per [ITA06](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita06).
- description: 'ITA09 - When #RR is used in an issue, add the "Needs: Author Feedback :ear:" label'
if:
- or:
- payloadType: Pull_Request_Review_Comment
- payloadType: Issue_Comment
- commentContains:
pattern: "#RR"
- not:
hasLabel:
label: "Needs: Author Feedback :ear:"
then:
- addLabel:
label: "Needs: Author Feedback :ear:"
- addReply:
reply: |
> [!NOTE]
> The "Needs: Author Feedback :ear:" label was added as per [ITA09](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita09).
- description: 'ITA10 - When #wontfix is used in an issue, mark it by using the label of "Status: Won''t Fix :broken_heart:"'
if:
- or:
- payloadType: Pull_Request_Review_Comment
- payloadType: Issue_Comment
- commentContains:
pattern: "#wontfix"
- not:
hasLabel:
label: "Status: Won't Fix :broken_heart:"
then:
- addLabel:
label: "Status: Won't Fix :broken_heart:"
- closeIssue
- addReply:
reply: |
> [!NOTE]
> The "Status: Won't Fix :broken_heart:" label was added and the issue was closed as per [ITA10](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita10).
- description: 'ITA11 - When a reply from anyone to an issue occurs, remove the "Needs: Author Feedback :ear:" label and label with "Needs: Attention :wave:"'
if:
- or:
- payloadType: Pull_Request_Review_Comment
- payloadType: Issue_Comment
- not:
isAction:
action: Closed
- hasLabel:
label: "Needs: Author Feedback :ear:"
then:
- removeLabel:
label: "Needs: Author Feedback :ear:"
- addLabel:
label: "Needs: Attention :wave:"
- addReply:
reply: |
> [!NOTE]
> The "Needs: Author Feedback :ear:" label was removed and the "Needs: Attention :wave:" label was added as per [ITA11](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita11).
- description: "ITA12 - Clean email replies on every comment"
if:
- payloadType: Issue_Comment
then:
- cleanEmailReply

- description: 'ITA15 - remove the "Needs: Triage" label from a PR, if it already has a "Type: XYZ" label added at the time of creating it.'
if:
- payloadType: Pull_Request
- isAction:
action: Opened
- or:
- hasLabel:
label: "Type: Bug :bug:"
- hasLabel:
label: "Type: Documentation :page_facing_up:"
- hasLabel:
label: "Type: Duplicate :palms_up_together:"
- hasLabel:
label: "Type: Feature Request :heavy_plus_sign:"
- hasLabel:
label: "Type: Hygiene :broom:"
- hasLabel:
label: "Type: New Module Proposal :bulb:"
- hasLabel:
label: "Type: Question/Feedback :raising_hand:"
- hasLabel:
label: "Type: Security Bug :lock:"
- isAssignedToSomeone
then:
- removeLabel:
label: "Needs: Triage :mag:"
- addReply:
reply: |
> [!NOTE]
> The "Needs: Triage :mag:" label was removed as per [ITA15](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita15).
- description: 'ITA20 - If the type is feature request, add the "Type: Feature Request :heavy_plus_sign:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Feature Request
- not:
hasLabel:
label: "Type: Feature Request :heavy_plus_sign:"
then:
- addLabel:
label: "Type: Feature Request :heavy_plus_sign:"
- addReply:
reply: |
> [!NOTE]
> The "Type: Feature Request :heavy_plus_sign:" label was added as per [ITA20](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita20).
- description: 'ITA21 - If the type is bug, add the "Type: Bug :bug:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Bug
- not:
hasLabel:
label: "Type: Bug :bug:"
then:
- addLabel:
label: "Type: Bug :bug:"
- addReply:
reply: |
> [!NOTE]
> The "Type: Bug :bug:" label was added as per [ITA21](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita21).
- description: 'ITA22 - If the type is security bug, add the "Type: Security Bug :lock:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Security Bug
- not:
hasLabel:
label: "Type: Security Bug :lock:"
then:
- addLabel:
label: "Type: Security Bug :lock:"
- addReply:
reply: |
> [!NOTE]
> The "Type: Security Bug :lock:" label was added as per [ITA22](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita22).
- description: 'ITA23 - Remove the "Status: In PR" label from an issue when it''s closed.'
if:
- payloadType: Issues
- isAction:
action: Closed
- hasLabel:
label: "Status: In PR :point_right:"
then:
- removeLabel:
label: "Status: In PR :point_right:"
- addReply:
reply: |
> [!NOTE]
> The "Status: In PR :point_right:" label was removed as per [ITA23](https://azure.github.io/Azure-Verified-Modules/help-support/issue-triage/issue-triage-automation/#ita23).
Loading

0 comments on commit 2b7288c

Please sign in to comment.