Bug: Several hygiene fixes and/or cleanup (#809)

* Updates the version.json to correct release

* Cleanup resource management policy label references

* Cleanup PR form
This commit is contained in:
Zach Trocinski 2024-07-09 11:43:59 -05:00 коммит произвёл GitHub
Родитель 5759b89ab3
Коммит 642fd5f473
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 49 добавлений и 36 удалений

13
.github/PULL_REQUEST_TEMPLATE.md поставляемый
Просмотреть файл

@ -1,18 +1,31 @@
<!-- Thank you for submitting a Pull Request. Please fill out the template below.-->
# Overview/Summary
<!--
Replace this with a brief description of what this Pull Request fixes, changes, etc.
-->
## Related Issues/Work Items
<!--
- To associate a GitHub Issue, use a [key word](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) preceded with the GitHub issue number.
- To associate an ADO Work Item (internal Microsoft team member), use the key word `AB#` succeeded with the [ADO Work Item ID](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword).
-->
## This PR fixes/adds/changes/removes
<!--
1. *Replace me*
2. *Replace me*
3. *Replace me*
-->
### Breaking Changes
<!--
1. *Replace me*
2. *Replace me*
-->
## Testing Evidence

64
.github/policies/resourceManagement.yml поставляемый
Просмотреть файл

@ -16,9 +16,9 @@ configuration:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
- noActivitySince:
days: 3
actions:
@ -31,14 +31,14 @@ configuration:
- isIssue
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
- noActivitySince:
days: 4
- isNotLabeledWith:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
actions:
- addLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
- addReply:
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
- description:
@ -49,7 +49,7 @@ configuration:
- isIssue
- isOpen
- hasLabel:
label: 'Resolution: Duplicate'
label: 'Type: Duplicate :palms_up_together:'
- noActivitySince:
days: 1
actions:
@ -64,9 +64,9 @@ configuration:
- isPullRequest
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
- noActivitySince:
days: 7
actions:
@ -79,14 +79,14 @@ configuration:
- isPullRequest
- isOpen
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
- noActivitySince:
days: 7
- isNotLabeledWith:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
actions:
- addLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
- addReply:
reply: This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**.
eventResponderTasks:
@ -97,13 +97,13 @@ configuration:
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
- isOpen
then:
- addLabel:
label: 'Needs: Attention :wave:'
- removeLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
description:
- if:
- payloadType: Issues
@ -111,24 +111,24 @@ configuration:
isAction:
action: Closed
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
then:
- removeLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
description:
- if:
- payloadType: Issue_Comment
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
then:
- removeLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
description:
- if:
- payloadType: Pull_Request
then:
- inPrLabel:
label: 'Status: In PR'
label: 'Status: In PR :point_right:'
description:
- if:
- payloadType: Pull_Request_Review
@ -138,7 +138,7 @@ configuration:
reviewState: Changes_requested
then:
- addLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
description:
- if:
- payloadType: Pull_Request
@ -148,30 +148,30 @@ configuration:
isAction:
action: Closed
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
description:
- if:
- payloadType: Issue_Comment
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
description:
- if:
- payloadType: Pull_Request_Review
- isActivitySender:
issueAuthor: True
- hasLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
then:
- removeLabel:
label: 'Needs: Author Feedback'
label: 'Needs: Author Feedback :ear:'
description:
- if:
- payloadType: Pull_Request
@ -179,26 +179,26 @@ configuration:
isAction:
action: Closed
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
then:
- removeLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
description:
- if:
- payloadType: Issue_Comment
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
then:
- removeLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
description:
- if:
- payloadType: Pull_Request_Review
- hasLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
then:
- removeLabel:
label: 'Status: No Recent Activity'
label: 'Status: No Recent Activity :zzz:'
description:
- if:
- payloadType: Issue_Comment
@ -241,7 +241,7 @@ configuration:
- if:
- payloadType: Pull_Request
- labelAdded:
label: 'Needs: upstream policy changes :up:'
label: 'Needs: Upstream Policy Changes :arrows_clockwise:'
then:
- addReply:
reply: >-

Просмотреть файл

@ -1,6 +1,6 @@
{
"version": "0.17.2",
"gitTag": "v0.17.2",
"releaseNotes": "https://github.com/Azure/ALZ-Bicep/releases/tag/v0.17.2",
"releaseDateTimeUTC": "20240227T145935000Z"
"version": "0.18.0",
"gitTag": "v0.18.0",
"releaseNotes": "https://github.com/Azure/ALZ-Bicep/releases/tag/v0.18.0",
"releaseDateTimeUTC": "20240709T0222079056Z"
}