Skip to content

Commit e5fe0b2

Browse files
Merge branch 'dotnet:main' into main
2 parents 554a331 + 99d6b83 commit e5fe0b2

File tree

992 files changed

+123446
-8661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

992 files changed

+123446
-8661
lines changed

.github/ISSUE_TEMPLATE/customer-feedback.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,23 @@ body:
3838
required: true
3939
attributes:
4040
label: Document ID
41+
- type: input
42+
id: platformId
43+
validations:
44+
required: true
45+
attributes:
46+
label: Platform Id
4147
- type: input
4248
id: author
4349
validations:
4450
required: true
4551
attributes:
4652
label: Article author
47-
53+
- type: textarea
54+
id: metadata
55+
validations:
56+
required: false
57+
attributes:
58+
label: Metadata
59+
description: >-
60+
Documentation metadata will be applied here

.github/ISSUE_TEMPLATE/doc-request.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ about: Request a new topic to help us improve
55

66
**Help us make content visible**
77

8-
- Tell us what search terms you used and how you searched docs.
9-
- Tell us what docs you found that didn't address your concern.
8+
* Tell us what search terms you used and how you searched docs.
9+
* Tell us what docs you found that didn't address your concern.
1010

1111
**Describe the new topic**
1212

13-
- Explain why this topic is needed.
14-
- Suggest a location in the Table of Contents.
15-
- Write an abstract. In one **short** paragraph, describe what this topic will cover.
16-
- Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.
13+
* Explain why this topic is needed.
14+
* Suggest a location in the Table of Contents.
15+
* Write an abstract. In one **short** paragraph, describe what this topic will cover.
16+
* Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.

.github/policies/close-issues.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Close issues
2+
description: Close issues based on label
3+
resource: repository
4+
where:
5+
configuration:
6+
resourceManagementConfiguration:
7+
scheduledSearches:
8+
- frequencies:
9+
- daily:
10+
time: 12:00
11+
filters:
12+
- isIssue
13+
- isOpen
14+
- hasLabel:
15+
label: needs-more-info
16+
- noActivitySince:
17+
days: 14
18+
actions:
19+
- addReply:
20+
reply: This issue has been automatically closed due to no response from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.
21+
- closeIssue
22+
23+
eventResponderTasks:
24+
- description: Remove needs-more-info label when author comments on issue
25+
if:
26+
- payloadType: Issue_Comment
27+
- isAction:
28+
action: Created
29+
- isActivitySender:
30+
issueAuthor: True
31+
- hasLabel:
32+
label: needs-more-info
33+
- isOpen
34+
then:
35+
- removeLabel:
36+
label: needs-more-info
37+
38+
- description: Close issues labeled 'code-of-conduct'
39+
if:
40+
- payloadType: Issues
41+
- hasLabel:
42+
label: code-of-conduct
43+
then:
44+
- closeIssue
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
id: issueManagement.emptyIssue
2+
name: GitOps.EmptyIssue
3+
description: Checks for an issue created via learn that has an empty description from the template.
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: Close an issue created with the learn template that has an empty body.
12+
if:
13+
- payloadType: Issues
14+
- bodyContains:
15+
pattern: '### Description[\n\r]+\[Enter feedback here\][\n\r]+###'
16+
isRegex: true
17+
then:
18+
- addLabel: 'needs-more-info'
19+
- removeLabel: ':watch: Not Triaged'
20+
- closeIssue
21+
22+
triggerOnOwnActions: false
23+
24+
onFailure:
25+
onSuccess:
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
id: issueManagement.notTriaged
2+
name: GitOps.NotTriagedHandler
3+
description: Ensures the Not Triaged label is added or removed when appropriate
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: >-
12+
Add "not triaged" label when:
13+
* Issue is opened
14+
* Issue is reopened
15+
* 'needs-more-info' label removed
16+
if:
17+
- payloadType: Issues
18+
- not:
19+
isAssignedToUser:
20+
user: guardrex
21+
- or:
22+
23+
- or:
24+
- isAction:
25+
action: Opened
26+
- isAction:
27+
action: Reopened
28+
29+
- labelRemoved:
30+
label: 'needs-more-info'
31+
then:
32+
- addLabel: ':watch: Not Triaged'
33+
triggerOnOwnActions: false
34+
35+
- description: >-
36+
Remove "not triaged" label when:
37+
* Issue author closes the issue
38+
* reQUEST label is added
39+
if:
40+
- payloadType: Issues
41+
- hasLabel:
42+
label: ':watch: Not Triaged'
43+
- or:
44+
- and:
45+
- isAction:
46+
action: Closed
47+
- isActivitySender:
48+
issueAuthor: true
49+
50+
- labelAdded:
51+
label: 'reQUEST'
52+
then:
53+
- removeLabel: ':watch: Not Triaged'
54+
triggerOnOwnActions: false
55+
56+
onFailure:
57+
onSuccess:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
id: labelAdded.areaLabels
2+
name: GitOps.AreaLabelHandler
3+
description: Handles when specific area labels are added
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: >-
12+
When the label "grpc/subsvc" is added to an issue
13+
* Add label "gRPC"
14+
if:
15+
- payloadType: Issues
16+
- labelAdded:
17+
label: 'grpc/subsv'
18+
then:
19+
- addLabel: 'gRPC'
20+
21+
- description: >-
22+
When the label "aspnetcore-signalr/subsvc" is added to an issue
23+
* Add label "SignalR"
24+
if:
25+
- payloadType: Issues
26+
- labelAdded:
27+
label: 'aspnetcore-signalr/subsvc'
28+
then:
29+
- addLabel: 'SignalR'
30+
31+
onFailure:
32+
onSuccess:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
id: labelAdded.mapQuest
2+
name: GitOps.MapQuestHandler
3+
description: Handles when "mapQUEST" label is added
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: >-
12+
When the label "mapQUEST" is added to an issue
13+
* Remove label "mapQUEST"
14+
if:
15+
- or:
16+
- payloadType: Issues
17+
- payloadType: Pull_Request
18+
19+
- labelAdded:
20+
label: 'mapQUEST'
21+
then:
22+
- removeLabel: 'mapQUEST'
23+
triggerOnOwnActions: true
24+
onFailure:
25+
onSuccess:
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
id: pullRequestManagement.labelFiles
2+
name: GitOps.PullRequestLabelFiles
3+
description: Checks the files touched by a pull request and assigns a reviewer
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: Modify PRs that touch certain files
12+
triggerOnOwnActions: false
13+
if:
14+
- payloadType: Pull_Request
15+
- or:
16+
- isAction:
17+
action: Opened
18+
- isAction:
19+
action: Synchronize
20+
- not:
21+
targetsBranch:
22+
branch: live
23+
then:
24+
- if:
25+
- or:
26+
- filesMatchPattern:
27+
matchAny: true
28+
pattern: '(?i).*/blazor/.*'
29+
- filesMatchPattern:
30+
matchAny: true
31+
pattern: '(?i).*/client-side/dotnet-interop/index.md'
32+
- filesMatchPattern:
33+
matchAny: true
34+
pattern: '(?i).*/client-side/dotnet-interop/wasm-browser-app.md'
35+
- filesMatchPattern:
36+
matchAny: true
37+
pattern: '(?i).*/mvc/views/tag-helpers/built-in/component-tag-helper.md'
38+
- filesMatchPattern:
39+
matchAny: true
40+
pattern: '(?i).*/mvc/views/tag-helpers/built-in/persist-component-state.md'
41+
then:
42+
- requestReview:
43+
reviewer: guardrex
44+
onFailure:
45+
onSuccess:

.github/workflows/blazor-hybrid-issue-processing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
issue_number: context.issue.number,
1818
owner: context.repo.owner,
1919
repo: context.repo.repo,
20-
body: `### 💃🕺🥳 **_Happy New Year!_** 🎈🎆🍾🥂🎉
20+
body: `### 🌱🐇 **_Spring is here!!_** 🐣🌻
2121
2222
A green dinosaur 🦖 will be along shortly to assist. *Stand-by ........*`
2323
})

.github/workflows/blazor-issue-processing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
issue_number: context.issue.number,
2323
owner: context.repo.owner,
2424
repo: context.repo.repo,
25-
body: `### 💃🕺🥳 **_Happy New Year!_** 🎈🎆🍾🥂🎉
25+
body: `### 🌱🐇 **_Spring is here!!_** 🐣🌻
2626
2727
*Stand-by!* ... A green dinosaur 🦖 will be along shortly to assist.`
2828
})

0 commit comments

Comments
 (0)