Skip to content

Commit

Permalink
Merge pull request #75090 from jcouv/merge-master
Browse files Browse the repository at this point in the history
Merge latest bits from 'main' branch into extensions branch
  • Loading branch information
jcouv authored Sep 17, 2024
2 parents af4147a + f2d4c27 commit 87df3d7
Show file tree
Hide file tree
Showing 2,456 changed files with 61,260 additions and 39,969 deletions.
91 changes: 68 additions & 23 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ where:
configuration:
resourceManagementConfiguration:
scheduledSearches:

- description: Close "Need More Info" Issues
frequencies:
- hourly:
Expand All @@ -23,8 +24,12 @@ configuration:
- closeIssue
- addReply:
reply: "Closing this issue as we've seen no reply to the request for more information. If you are able to get the requested information, please add it to the issue and we will retriage it. "

eventResponderTasks:
- if:

- description: Auto-approve auto-merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- labelAdded:
Expand All @@ -38,9 +43,10 @@ configuration:
then:
- approvePullRequest:
comment: Auto-approval
description: Auto-approve auto-merge PRs

- description: Auto-approve maestro PRs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
Expand All @@ -55,9 +61,10 @@ configuration:
then:
- approvePullRequest:
comment: Auto-approve
description: Auto-approve maestro PRs
triggerOnOwnActions: false
- if:

- description: Milestone tracking
triggerOnOwnActions: true
if:
- payloadType: Pull_Request
- isPullRequest
- or:
Expand All @@ -72,9 +79,10 @@ configuration:
then:
- addMilestone:
milestone: Next
description: Milestone tracking
triggerOnOwnActions: true
- if:

- description: Auto-approve OneLoc PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
Expand All @@ -88,9 +96,10 @@ configuration:
then:
- addLabel:
label: auto-merge
description: Auto-approve OneLoc PRs

- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
- if:
if:
- payloadType: Issue_Comment
- isIssue
- isOpen
Expand All @@ -101,9 +110,10 @@ configuration:
label: untriaged
- removeLabel:
label: Need More Info
description: Remove "Need More Info" on comment

- description: Label Community Pull Requests
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- isAction:
Expand Down Expand Up @@ -142,13 +152,45 @@ configuration:
then:
- addLabel:
label: Community
description: Label Community Pull Requests

- description: Adds "VSCode" tag on PRs which may affect C# extension.
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: 'src/(Analyzers|CodeStyle|Features|LanguageServer|Workspaces)/.*\.(cs|vb)$'
matchAny: true
- and:
- not:
isActivitySender:
user: dotnet-bot
issueAuthor: False
- not:
isActivitySender:
user: github-actions
issueAuthor: False
- or:
- isAction:
action: Opened
- isAction:
action: Synchronize
- and:
- not:
hasLabel:
label: VSCode
then:
- addLabel:
label: VSCode

- description: Add "Needs UX Triage" on PRs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: '[xX][aA][mM][lL]$'
pattern: '.*\.[xX][aA][mM][lL]$'
matchAny: true
- and:
- not:
hasLabel:
Expand Down Expand Up @@ -187,12 +229,15 @@ configuration:
then:
- addLabel:
label: Needs UX Triage
description: Add "Needs UX Triage" on PRs

- description: Adds "Needs API Review" on PRs that touch public APIs
triggerOnOwnActions: false
- if:
if:
- payloadType: Pull_Request
- isPullRequest
- filesMatchPattern:
pattern: .*/PublicAPI\.(Shipped|Unshipped)\.txt
pattern: '.*/PublicAPI\.(Shipped|Unshipped)\.txt'
matchAny: true
- not:
isActivitySender:
user: dotnet-bot
Expand All @@ -214,9 +259,10 @@ configuration:
label: Needs API Review
- addReply:
reply: This PR modifies public API files. Please follow the instructions at https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md for ensuring all public APIs are reviewed before merging.
description: Adds "Needs API Review" on PRs that touch public APIs

- description: Close automatically generated PR tagger issues
triggerOnOwnActions: false
- if:
if:
- payloadType: Issues
- isIssue
- hasLabel:
Expand All @@ -226,7 +272,6 @@ configuration:
isRegex: False
then:
- closeIssue
description: Close automatically generated PR tagger issues
triggerOnOwnActions: false

onFailure:
onSuccess:
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
.packages/
.nuget/
.complog/
/MSBuild_Logs/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
Expand Down
10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,13 @@
"azure-pipelines.customSchemaFile": ".vscode/dnceng-schema.json",
"dotnet.defaultSolution": "Roslyn.sln",
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
"dotnet.testWindow.disableAutoDiscovery": true
"dotnet.testWindow.disableAutoDiscovery": true,
"dotnet.testWindow.disableBuildOnRefresh": true,
"cSpell.words": [
"Nerdbank",
"NETCOREAPP",
"Unregistration",
"Unregistrations",
"Xunit"
]
}
5 changes: 4 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"msbuild",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"src/Compilers/CSharp/csc/AnyCpu/csc.csproj"
],
"problemMatcher": "$msCompile",
Expand All @@ -62,6 +63,7 @@
"build",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"Compilers.slnf"
],
"problemMatcher": "$msCompile",
Expand All @@ -75,6 +77,7 @@
"build",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"-tl:off",
"Roslyn.sln"
],
"problemMatcher": "$msCompile",
Expand Down Expand Up @@ -145,7 +148,7 @@
"build",
"-c",
"Debug",
"src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj"
"src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj"
],
"problemMatcher": "$msCompile",
"group": "build"
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.rsp
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Workaround for https://github.com/dotnet/sdk/issues/41791
-p:_IsDisjointMSBuildVersion=false
# This file intentionally left blank to avoid accidental import during build.
Loading

0 comments on commit 87df3d7

Please sign in to comment.