Skip to content

Commit

Permalink
Merge branch 'Azure:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr authored Nov 16, 2023
2 parents abfa1b9 + 0e61a5c commit c6707f6
Show file tree
Hide file tree
Showing 20 changed files with 1,162 additions and 58 deletions.
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/avm_module_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: AVM - Module Issue ➕🐛🔒
description: Want to request a new Module feature or report a bug? Let us know!
title: "[AVM Module Issue]: "
labels: ["Type: AVM :a: :v: :m:", "Needs: Triage :mag:"]
projects: ["Azure/566"]
body:
- type: markdown
attributes:
value: |
Thank you for submitting this AVM Module Issue!
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).
- 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](https://aka.ms/BRM/TypeAVM) to avoid creating a duplicate.
options:
- label: I have checked for previous/existing GitHub issues
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"
- "I'm not sure"
validations:
required: true
- type: input
id: module-name
attributes:
label: Module Name
description: Which existing AVM module is this issue related to?
placeholder: avm-res-<rp>-<armresourcename>
validations:
required: true
- type: input
id: module-version
attributes:
label: (Optional) Module Version
description: Please provide which version(s) of the module does this issue apply to.
validations:
required: false
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: Please describe the issue!
validations:
required: true
- type: input
id: correlation-id
attributes:
label: (Optional) Correlation Id
description: Please provide a correlation id f available and appropriate.
validations:
required: false
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:
[
"Type: AVM :a: :v: :m:",
"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](https://aka.ms/BRM/TypeAVM) 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
183 changes: 183 additions & 0 deletions .github/policies/eventResponder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
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:"

- description: 'ITA08BCP - If "AVM" or "Azure Verified Modules" is mentioned in a new issue, add label of "Type: AVM :a: :v: :m:" on the issue'
if:
- or:
- payloadType: Issues
- payloadType: Pull_Request
- payloadType: Issue_Comment
- payloadType: Pull_Request_Review_Comment
- and:
- or:
- isAction:
action: Opened
- isAction:
action: Created
- isAction:
action: Edited
- or:
- bodyContains:
pattern: "AVM"
- bodyContains:
pattern: "avm"
- bodyContains:
pattern: "Azure Verified Modules"
- bodyContains:
pattern: "azure verified modules"
- commentContains:
pattern: "AVM"
- commentContains:
pattern: "avm"
- commentContains:
pattern: "AVM"
- commentContains:
pattern: "azure verified modules"
then:
- addLabel:
label: "Type: AVM :a: :v: :m:"

- 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"
then:
- addLabel:
label: "Needs: Author Feedback :ear:"

- 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"
then:
- addLabel:
label: "Status: Won't Fix :broken_heart:"
- closeIssue

- 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:"

- 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 assigned at the time of creating it.'
if:
- payloadType: Pull_Request
- 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:"
- hasLabel:
label: "Type: AVM :a: :v: :m:"
- isAction:
action: Opened
then:
- removeLabel:
label: "Needs: Triage :mag:"

- description: 'ITA16 - Add the "Status: Owners Identified :metal:" label when someone is assigned to a Module Proposal'
if:
- payloadType: Issues
- not:
isAction:
action: Closed
- hasLabel:
label: "Type: New Module Proposal :bulb:"
- isAssignedToSomeone
then:
- addLabel:
label: "Status: Owners Identified :metal:"

- description: 'ITA20 - If the type is feature request, assign the "Type: Feature Request :heavy_plus_sign:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Feature Request
then:
- addLabel:
label: "Type: Feature Request :heavy_plus_sign:"

- description: 'ITA21 - If the type is bug, assign the "Type: Bug :bug:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Bug
then:
- addLabel:
label: "Type: Bug :bug:"

- description: 'ITA22 - If the type is security bug, assign the "Type: Security Bug :lock:" label on the issue'
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: |
### Issue Type?
Security Bug
then:
- addLabel:
label: "Type: Security Bug :lock:"
Loading

0 comments on commit c6707f6

Please sign in to comment.