Skip to content

Commit d0ea0bf

Browse files
Merge pull request #11236 from dotnet/main
Merge main into live
2 parents 7c204c2 + 75d0922 commit d0ea0bf

File tree

152 files changed

+885
-1107
lines changed

Some content is hidden

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

152 files changed

+885
-1107
lines changed

.github/policies/close-issues.yml

Lines changed: 85 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,97 @@
11
name: Close issues
2-
description: Close issues based on label.
2+
description: Close issues based on label
33
resource: repository
44
where:
55
configuration:
66
resourceManagementConfiguration:
7-
eventResponderTasks:
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+
triggerOnOwnActions: true
38+
839
- description: Close issues labeled 'code-of-conduct'
940
if:
1041
- payloadType: Issues
1142
- hasLabel:
1243
label: code-of-conduct
1344
then:
1445
- closeIssue
46+
47+
- description: Close learn template issues with empty descriptions (spam).
48+
if:
49+
- payloadType: Issues
50+
- or:
51+
- bodyContains:
52+
pattern: '### Description[\n\r]+\[Enter feedback here\][\n\r]+###'
53+
isRegex: True
54+
- bodyContains:
55+
pattern: '### Description[\n\r]+\[Escriba sus comentarios aquí][\n\r]+###'
56+
isRegex: True
57+
- bodyContains:
58+
pattern: '### Description[\n\r]+\[Tapez vos commentaires ici][\n\r]+###'
59+
isRegex: True
60+
- bodyContains:
61+
pattern: '### Description[\n\r]+\[Hier Feedback eingeben][\n\r]+###'
62+
isRegex: true
63+
- bodyContains:
64+
pattern: '### Description[\n\r]+\[Geri bildiriminizi buraya girin][\n\r]+###'
65+
isRegex: True
66+
- bodyContains:
67+
pattern: '### Description[\n\r]+\[Ketikkan umpan balik di sini][\n\r]+###'
68+
isRegex: True
69+
- bodyContains:
70+
pattern: '### Description[\n\r]+\[Immetti qui i commenti][\n\r]+###'
71+
isRegex: True
72+
- bodyContains:
73+
pattern: '### Description[\n\r]+\[Voer hier feedback in][\n\r]+###'
74+
isRegex: True
75+
- bodyContains:
76+
pattern: '### Description[\n\r]+\[Insira comentários aqui][\n\r]+###'
77+
isRegex: True
78+
- bodyContains:
79+
pattern: '### Description[\n\r]+\[Введите отзыв здесь][\n\r]+###'
80+
isRegex: True
81+
- bodyContains:
82+
pattern: '### Description[\n\r]+\[اكتب ملاحظاتك هنا][\n\r]+###'
83+
isRegex: True
84+
- bodyContains:
85+
pattern: '### Description[\n\r]+\[在此处输入反馈][\n\r]+###'
86+
isRegex: True
87+
- bodyContains:
88+
pattern: '### Description[\n\r]+\[여기에 피드백 입력][\n\r]+###'
89+
isRegex: True
90+
- bodyContains:
91+
pattern: '### Description[\n\r]+\[フィードバックをこちらに入力してください][\n\r]+###'
92+
isRegex: True
93+
then:
94+
- addLabel: 'needs-more-info'
95+
- addReply:
96+
reply: This issue has been automatically closed due to an empty issue description from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.
97+
- closeIssue

.openpublishing.publish.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"git_repository_branch_open_to_public_contributors": "main",
5757
"skip_source_output_uploading": false,
5858
"need_preview_pull_request": true,
59-
"need_pr_comments": true,
59+
"need_pr_comments": false,
6060
"contribution_branch_mappings": {},
6161
"dependent_repositories": [
6262
{
@@ -100,4 +100,4 @@
100100
"version": "latest"
101101
}
102102
]
103-
}
103+
}

xml/Microsoft.Extensions.Configuration.Ini/IniConfigurationProvider.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
4444
INI files are simple line structures ([INI Files on Wikipedia](https://en.wikipedia.org/wiki/INI_file)). The following example demonstrates a structure of the INI file:
4545
46-
```
46+
```ini
4747
[Section:Header]
4848
key1=value1
4949
key2 = " value2 "

xml/Microsoft.Extensions.Http/PolicyHttpMessageHandler.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ The <xref:Microsoft.Extensions.DependencyInjection.PollyHttpClientBuilderExtensi
3636
<xref:Microsoft.Extensions.Http.PolicyHttpMessageHandler> and the <xref:Microsoft.Extensions.DependencyInjection.PollyHttpClientBuilderExtensions> convenience methods only accept the generic <xref:Polly.IAsyncPolicy`1>. Generic policy instances can be created by using the generic methods on <xref:Polly.Policy> such as <xref:Polly.Policy.TimeoutAsync``1(System.Int32)>.
3737
3838
To adapt an existing non-generic <xref:Polly.IAsyncPolicy>, use code like the following:
39-
40-
```
39+
40+
```csharp
4141
policy.AsAsyncPolicy&lt;HttpResponseMessage&gt;()
4242
```
4343

xml/Microsoft.VisualBasic.Compatibility.VB6/DirListBox.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@
933933
934934
The `Path` property can also be set to a qualified network path without a drive connection using the following syntax:
935935
936-
```
936+
```txt
937937
\\servername\sharename\path
938938
```
939939

xml/Microsoft.VisualBasic.Compatibility.VB6/FileListBox.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
697697
The `Path` property can also be set to a qualified network path without a drive connection using the following syntax:
698698
699-
```
699+
```txt
700700
\\servername\sharename\path
701701
```
702702

xml/Microsoft.Windows.Themes/BulletChrome.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@
6666
<a name="xamlObjectElementUsage_BulletChrome"></a>
6767
## XAML Object Element Usage
6868
69-
```
69+
```xaml
7070
<theme:BulletChrome .../>
7171
```
7272
7373
<a name="xamlValues_BulletChrome"></a>
7474
## XAML Values
75-
`theme:`
75+
76+
`theme:`\
7677
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
7778
7879
]]></format>

xml/Microsoft.Windows.Themes/ButtonChrome.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@
6666
<a name="xamlObjectElementUsage_ButtonChrome"></a>
6767
## XAML Object Element Usage
6868
69-
```
69+
```xaml
7070
<theme:ButtonChrome .../>
7171
```
7272
7373
<a name="xamlValues_ButtonChrome"></a>
7474
## XAML Values
75-
`theme:`
75+
`theme:`\
7676
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
7777
7878
]]></format>

xml/Microsoft.Windows.Themes/ClassicBorderDecorator.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@
3232
<a name="xamlObjectElementUsage_CBD"></a>
3333
## XAML Object Element Usage
3434
35-
```
35+
```xaml
3636
<theme:ClassicBorderDecorator ...>
3737
  singleChild
3838
</theme:ClassicBorderDecorator>
3939
```
4040
4141
<a name="xamlValues_CBD"></a>
4242
## XAML Values
43-
`theme:`
43+
`theme:`\
4444
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
4545
46-
*singleChild*
46+
*singleChild*\
4747
A single object element child, representing the object that the border is drawn around. This object must be a <xref:System.Windows.UIElement>. Typical child elements are either a fixed <xref:System.Windows.UIElement> (for example a <xref:System.Windows.Shapes.Path>) or are a presenter or another decorator in compositing.
4848
4949
]]></format>

xml/Microsoft.Windows.Themes/DataGridHeaderBorder.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,18 @@
8181
<a name="xamlObjectElementUsage_DGHB"></a>
8282
## XAML Object Element Usage
8383
84-
```
84+
```xaml
8585
<theme:DataGridHeaderBorder ...>
8686
  singleChild
8787
</theme:DataGridHeaderBorder>
8888
```
8989
9090
<a name="xamlValues_DGHB"></a>
9191
## XAML Values
92-
`theme:`
92+
`theme:`\
9393
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
9494
95-
*singleChild*
95+
*singleChild*\
9696
A single object element child, representing the object that the border is drawn around. This object must be a <xref:System.Windows.UIElement>.
9797
9898
]]></format>

0 commit comments

Comments
 (0)