Skip to content

Commit

Permalink
fix: grept apply (Azure#5)
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 2436e0b commit d173f8b
Show file tree
Hide file tree
Showing 9 changed files with 631 additions and 6 deletions.
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/avm_module_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: AVM - Module Issue ➕🐛🔒
description: Want to request a new Module feature or report a bug? Let us know!
title: "[AVM Module Issue]: "
labels: ["Needs: Triage :mag:", "Language: Terraform :globe_with_meridians:"]
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 file an [AVM Module Proposal](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 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-version
attributes:
label: (Optional) Module Version
description: Please provide which version(s) of the module does this issue apply to.
validations:
required: false
- type: input
id: correlation-id
attributes:
label: (Optional) Correlation Id
description: Please provide a correlation id if available and appropriate.
validations:
required: false
- type: textarea
id: question-feedback-text
attributes:
label: Description
description: |
Please describe the issue!
> **NOTE**: All requested features must already be supported by the provider and Preview Services ([SFR1](https://azure.github.io/Azure-Verified-Modules/specs/shared/#id-sfr1---category-composition---preview-services)) are not supported.
placeholder: |
<!--
If this is a bug, please provide a minimum example to reproduce the bug.
If this is a feature request, please provide a detailed description of the feature.
-->
validations:
required: true
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: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +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!
32 changes: 32 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Description

<!--
>Thank you for your contribution !
> Please include a summary of the change and which issue is fixed.
> Please also include the context.
> List any dependencies that are required for this change.
Fixes #123
Closes #456
-->

## Type of Change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] Non-module change (e.g. CI/CD, documentation, etc.)
- [ ] Azure Verified Module updates:
- [ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `locals.version.tf.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `locals.version.tf.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in `locals.version.tf.json`.
- [ ] Update to documentation

# Checklist

- [ ] I'm sure there are no other open Pull Requests for the same update/change
- [ ] My corresponding pipelines / checks run clean and green without any errors or warnings
- [ ] I did run all [pre-commit](https://azure.github.io/Azure-Verified-Modules/contributing/terraform/terraform-contribution-flow/#5-run-pre-commit-checks) checks

<!-- Please keep up to date with the contribution guide at https://aka.ms/avm/contribute/terraform -->
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 d173f8b

Please sign in to comment.