Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from dotnet:main #15

Open
wants to merge 2,225 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2225 commits
Select commit Hold shift + click to select a range
821c8b5
Move
CyrusNajmabadi Feb 19, 2025
c40e834
simplify
CyrusNajmabadi Feb 19, 2025
2196bd2
Fix crash in 'introduce variable' when converting an object creation …
CyrusNajmabadi Feb 19, 2025
9087df4
Enable NRT
CyrusNajmabadi Feb 19, 2025
6bd91b6
Update src/Tools/SemanticSearch/ReferenceAssemblies/Apis/Microsoft.Co…
CyrusNajmabadi Feb 19, 2025
b349c65
Partial events and constructors: attributes (#77182)
jjonescz Feb 19, 2025
a7ba2ce
Fix crash in 'introduce variable' when converting an object creation …
CyrusNajmabadi Feb 19, 2025
e4db07d
Use proj dependent checksum instead now that it contains SG info
dibarbet Feb 19, 2025
fbbde1a
Fix override completion when attribute below (#77242)
dibarbet Feb 19, 2025
fa6d78d
disable realtime monitoring
akhera99 Feb 19, 2025
835c7ec
Merge remote-tracking branch 'origin/main' into dev/maryamariyan/dev1…
maryamariyan Feb 19, 2025
faea3a8
fix tests
akhera99 Feb 19, 2025
3851626
Merge remote-tracking branch 'origin/main' into dev/ankitakhera/aai_d…
maryamariyan Feb 19, 2025
df5f19a
Disable realtime monitoring in the PR-validation pipeline (#77282)
akhera99 Feb 19, 2025
29ba157
Update debugger contracts to fix hot reload issue
dibarbet Feb 19, 2025
4c13f50
Ensure diagnostics refresh when source generators run in balanced mod…
dibarbet Feb 20, 2025
0d066ee
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Feb 20, 2025
6ce6e62
Return stronger-ly typed results from completion
davidwengier Feb 20, 2025
eb904d9
Forgot to change the file header when copying the file contents
davidwengier Feb 20, 2025
8d0f843
Merge branch 'main' into diagnosticChecksum
CyrusNajmabadi Feb 20, 2025
131fe40
One level deep
CyrusNajmabadi Feb 20, 2025
9b24f62
Add test
CyrusNajmabadi Feb 20, 2025
6fb5d62
Add an option to ignore aliases when moving using directives outside …
CyrusNajmabadi Feb 20, 2025
4d21154
Add test
CyrusNajmabadi Feb 20, 2025
aa00cb4
Add work items
CyrusNajmabadi Feb 20, 2025
b98a886
local ad ons
maryamariyan Feb 20, 2025
7b6d468
local ad ons
maryamariyan Feb 20, 2025
6d46c43
Merge branch 'dev/maryamariyan/dev17-implement-method-fixer' into dev…
maryamariyan Feb 20, 2025
dea2c14
Update runtime async spec (#76872)
333fred Feb 20, 2025
2c62d7b
Add main bits for generating method implementation
maryamariyan Feb 20, 2025
c49fdcc
todo next
maryamariyan Feb 20, 2025
428241f
Merge branch 'main' into darc-main-1fec9736-6591-4ca2-8394-7040044cda12
akhera99 Feb 20, 2025
0bfdd05
Remove out of support branches from PublishData.json
JoeRobich Feb 20, 2025
d47fa08
Fill some gaps in the LSP (#77289)
davidwengier Feb 20, 2025
c00b940
Add an option to ignore aliases when moving using directives outside …
CyrusNajmabadi Feb 20, 2025
f3a26c9
Switch TextDocumentState.GetTextVersionAsync to ValueTask to reduce a…
ToddGrun Feb 20, 2025
8c00a94
Fix
Youssef1313 Feb 20, 2025
5d348af
[main] Update dependencies from dotnet/source-build-reference-package…
akhera99 Feb 20, 2025
882e679
Update debugger contracts to fix hot reload issue (#77284)
dibarbet Feb 20, 2025
e8dcc6d
Update PublicAPI files for 17.13 ship (#77266) (#77295)
333fred Feb 20, 2025
696f317
Expand doc comment
Youssef1313 Feb 20, 2025
ee3b104
update APIs
maryamariyan Feb 20, 2025
efe8c89
Remove out of support branches from PublishData.json (#77294)
JoeRobich Feb 20, 2025
9f54731
Update azure-pipelines-official.yml
akhera99 Feb 20, 2025
39c5cd1
Don't use hardcoded line endings (#77296)
333fred Feb 20, 2025
00d0454
Allow Semantic Search query function to take symbol parameter (#77272)
tmat Feb 20, 2025
2212158
Update to release nuget packages (#77261) (#77298)
333fred Feb 20, 2025
f05a6a0
Generate Documentation Auto-Insert (#76665)
akhera99 Feb 21, 2025
bdcfbf4
trial 1
maryamariyan Feb 21, 2025
b097ef3
Disable realtime monitoring in the official pipeline (#77302)
akhera99 Feb 21, 2025
3eb8e1b
Move check to 'make field readonly'
CyrusNajmabadi Feb 21, 2025
e96bc3a
Add test
CyrusNajmabadi Feb 21, 2025
7f67f6b
Update src/Tools/SemanticSearch/ReferenceAssemblies/Apis/Microsoft.Co…
CyrusNajmabadi Feb 21, 2025
548aef4
Partial events and constructors: more tests (#77280)
jjonescz Feb 21, 2025
aebe202
Fix false positive 'Unnecessary assignment of a value' (#77297)
CyrusNajmabadi Feb 21, 2025
a0da860
Add Copilot UI prototype to Semantic Search window (#77222)
tmat Feb 21, 2025
9064a3d
disable the WPF ComboBox Search behavior in Rename popup
AmadeusW Feb 21, 2025
9db6634
Merge remote-tracking branch 'origin/main' into dev/maryamariyan/repl…
maryamariyan Feb 21, 2025
7431087
Fix compile after merge
maryamariyan Feb 21, 2025
bfe9d9f
disable the WPF ComboBox Search behavior in Rename popup (#77312)
JoeRobich Feb 21, 2025
e6153f0
temp1
maryamariyan Feb 22, 2025
b2c0584
temp2
maryamariyan Feb 22, 2025
e1e6fd3
Implement method, end-to-end for one-off code action
maryamariyan Feb 22, 2025
ba32b2b
corrections
maryamariyan Feb 22, 2025
7cee927
Change override completion to select text after updating the buffer. …
ToddGrun Feb 23, 2025
db38112
Make diagnostic checksum computation into an extension method. (#77277)
CyrusNajmabadi Feb 23, 2025
a703da8
Explictly jump off the main thread before serializing data to call Razor
davidwengier Feb 23, 2025
a11eba3
Reduce allocations during completion in FilterToVisibleAndBrowsableSy…
ToddGrun Feb 24, 2025
dcc8ef2
Fix typos (#77316)
cston Feb 24, 2025
86171b0
Refresh diagnostics when fading options change
CyrusNajmabadi Feb 24, 2025
0d312d2
Mix options into diagnostic data checksum
CyrusNajmabadi Feb 24, 2025
61394d1
Apply suggestions from code review
CyrusNajmabadi Feb 24, 2025
1e7e07b
Refresh diagnostics when fading options change (#77322)
CyrusNajmabadi Feb 24, 2025
e6c9ef2
cleanup
maryamariyan Feb 24, 2025
98ed50a
Support 'view call hierarchy' on primary consstructor
CyrusNajmabadi Feb 24, 2025
e699059
Fix
CyrusNajmabadi Feb 24, 2025
b76f04c
Arrays
CyrusNajmabadi Feb 24, 2025
57f2353
cleanup tests
CyrusNajmabadi Feb 24, 2025
968256c
Add test
CyrusNajmabadi Feb 24, 2025
18f5800
Docs
CyrusNajmabadi Feb 24, 2025
fa00152
NRT
CyrusNajmabadi Feb 24, 2025
c226bfc
Primary constructor
CyrusNajmabadi Feb 24, 2025
e7f61a2
Add nuget to documentation (#77330)
333fred Feb 24, 2025
d595c6a
cleanup preliminary check
maryamariyan Feb 24, 2025
86e8bf9
Fix bug
maryamariyan Feb 24, 2025
b23154f
Implement TypeScript ExternalAccess wrappers for AsynchronousOperatio…
tmat Feb 24, 2025
677222a
Update configs for 17.14 P2 snap (#77329)
akhera99 Feb 25, 2025
149bfcd
Simplify
CyrusNajmabadi Feb 25, 2025
818fe86
Disallow initializers on partial constructor definitions (#77275)
jjonescz Feb 25, 2025
65f15ca
Partial events and constructors: public API (#77202)
jjonescz Feb 25, 2025
d993617
cleanup and fixes
maryamariyan Feb 25, 2025
3360777
remove local changes for pr
maryamariyan Feb 25, 2025
de14ec1
correct spacing
maryamariyan Feb 25, 2025
56b16f9
cleanup
maryamariyan Feb 25, 2025
8c89fee
Add unit test - takes code block suggestion to replace with method body
maryamariyan Feb 25, 2025
5150992
Add test, support expression body clause later
maryamariyan Feb 25, 2025
208f69c
Null annotate MetadataHelpers (#77309)
jaredpar Feb 25, 2025
47c913c
Change the FAR API call
maryamariyan Feb 25, 2025
b8f70c6
using `.Parent.FirstAncestorOrSelf`
maryamariyan Feb 25, 2025
b02349f
Improve wrapper implementation
maryamariyan Feb 25, 2025
23ddc7e
Allow expression body refactorings on non empty selections (#76969)
ToddGrun Feb 25, 2025
f301641
PERF: Reduce the number of nodes walked during import completion comm…
ToddGrun Feb 25, 2025
3704f4e
Handle ModuleCancellationTokenExpression in AbstractFlow visitor (#77…
tmat Feb 25, 2025
7da6fb7
Fix issue in watch window completion (#77204)
ToddGrun Feb 25, 2025
bbe7a41
Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if …
ToddGrun Feb 25, 2025
14fa3b1
Support 'view call hierarchy' on primary consstructor (#77328)
CyrusNajmabadi Feb 25, 2025
796756b
Explictly jump off the main thread before serializing data to call Ra…
davidwengier Feb 26, 2025
ddad76d
Expose some functionality from SourceGeneratedDocumentUri to Razor
davidwengier Feb 26, 2025
2edc666
Update src/Tools/ExternalAccess/Razor/RazorUri.cs
davidwengier Feb 26, 2025
7feafa3
Expose some functionality from SourceGeneratedDocumentUri to Razor (#…
davidwengier Feb 26, 2025
ba4b470
Apply first round code review
maryamariyan Feb 26, 2025
15c0419
add resource to automate github action merge PRs
akhera99 Feb 26, 2025
950b4d5
Update resourceManagement.yml
akhera99 Feb 26, 2025
908cf87
Preserve encoding during DocumentState updates
sharwell Feb 26, 2025
9f654bd
Fix issue where we were crashing trying to get inheritance margin inf…
CyrusNajmabadi Feb 26, 2025
4147458
Add resource to automate github action merge PRs (#77352)
akhera99 Feb 26, 2025
c614a02
Docs
CyrusNajmabadi Feb 26, 2025
410c349
Fix issue where we were crashing trying to get inheritance margin inf…
CyrusNajmabadi Feb 26, 2025
9e6dca8
Generate-Documentation Check if file is excluded (#77353)
akhera99 Feb 26, 2025
94cbd0b
Preserve encoding during DocumentState updates (#77354)
sharwell Feb 27, 2025
afca91b
PR Validation - allow insertion to run on commit that isn't latest (#…
akhera99 Feb 28, 2025
34f946d
Fix yml typos
JoeRobich Feb 28, 2025
4494082
Fix PR validation yml typos (#77380)
JoeRobich Feb 28, 2025
688b3ea
Merge DualChangeAction into DocumentChangeAction
sharwell Feb 28, 2025
42b8763
Make IDE3000 not configurable
sharwell Feb 28, 2025
998a3d8
Simplify analyzer code and improve robustness
sharwell Feb 28, 2025
b531abf
Update PublishData.json after VS Snap (#77383)
akhera99 Feb 28, 2025
0aa9356
Simplifies fixer and applies most remaining feedback
maryamariyan Mar 1, 2025
f5116f2
Merge remote-tracking branch 'maryam/dev/maryamariyan/replicate-for-f…
maryamariyan Mar 1, 2025
1c9ba44
Fix compile related to DocumentChangeAction
maryamariyan Mar 1, 2025
2ed4649
Cleanup messaging
maryamariyan Mar 1, 2025
24f76b2
Add resources for messaging
maryamariyan Mar 1, 2025
744eb42
Adds a few basic tests
maryamariyan Mar 1, 2025
b077c3f
Merge remote-tracking branch 'origin/main' into dev/maryamariyan/repl…
maryamariyan Mar 2, 2025
70209d7
Undo most recent analyzer changes,
maryamariyan Mar 2, 2025
ffd9bce
Apply PR feedback
maryamariyan Mar 2, 2025
e8596bc
Tests renamed
maryamariyan Mar 2, 2025
1923930
Correct test setup
maryamariyan Mar 2, 2025
0cc13f3
Improves readability and removes unreachable code
maryamariyan Mar 3, 2025
fbcd111
Correct mistakes in tests
maryamariyan Mar 3, 2025
41a421f
Adds more unit tests
maryamariyan Mar 3, 2025
9222c16
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-…
maryamariyan Mar 3, 2025
a95b627
Fix formatting in tests
CyrusNajmabadi Mar 3, 2025
16598c5
Collection expr
CyrusNajmabadi Mar 3, 2025
4f245b5
Collection expr
CyrusNajmabadi Mar 3, 2025
64b0aa5
Make selaed
CyrusNajmabadi Mar 3, 2025
ea67ea0
Make selaed
CyrusNajmabadi Mar 3, 2025
19af62f
Primary constructors
CyrusNajmabadi Mar 3, 2025
73abcff
Fix formatting in tests (#77394)
CyrusNajmabadi Mar 3, 2025
1452aa0
Fixes Analyzer tests
maryamariyan Mar 3, 2025
6fb4938
Makes sure original and replacement text are properly aligned
maryamariyan Mar 3, 2025
87f8358
Remove async/await (#77397)
CyrusNajmabadi Mar 3, 2025
562c455
Fix out of bounds in text extent computation
CyrusNajmabadi Mar 3, 2025
0e4da9f
Fix out of bounds in text extent computation
CyrusNajmabadi Mar 3, 2025
008b61f
Simplify keyword recommenders. (#77396)
CyrusNajmabadi Mar 3, 2025
c57eb1c
Fix out of bounds in text extent computation (#77402)
CyrusNajmabadi Mar 3, 2025
c270a76
Apply partial PR feedback
maryamariyan Mar 3, 2025
061d448
cleanup
maryamariyan Mar 3, 2025
faa4722
Applies feedback to change API surface
maryamariyan Mar 4, 2025
feefbef
Fix issue where goto-def wouldn't go to the right place after invokin…
CyrusNajmabadi Mar 4, 2025
f48bf92
All tests pass
maryamariyan Mar 4, 2025
913e8cb
[main] Update dependencies from dotnet/source-build-reference-package…
dotnet-maestro[bot] Mar 4, 2025
22e54b3
Fix issue where goto-def wouldn't go to the right place after invokin…
CyrusNajmabadi Mar 4, 2025
62deb7a
Partial events and constructors: IDE (#77337)
jjonescz Mar 4, 2025
26fa88d
Merge branch 'main' into features/PartialEventsCtors
jjonescz Mar 4, 2025
8bc07dc
Partial events and constructors: compact error codes
jjonescz Mar 4, 2025
de4bce1
Detect more null check patterns
CyrusNajmabadi Mar 4, 2025
26e760c
Emit call to ThrowIfNull
CyrusNajmabadi Mar 4, 2025
0d58692
Add string checks
CyrusNajmabadi Mar 4, 2025
af8ca36
tests are actually failing
maryamariyan Mar 4, 2025
41ff5e4
Add string checks
CyrusNajmabadi Mar 4, 2025
f6489ba
Add work items
CyrusNajmabadi Mar 4, 2025
37bbd28
Improve performance of SyntaxReplacer.ReplaceNode (#77314)
ToddGrun Mar 4, 2025
770fc86
Fix Quota bug and show failing tests
maryamariyan Mar 4, 2025
d28cba2
Detect and emit more idiomatic null check patterns (#77412)
CyrusNajmabadi Mar 4, 2025
0b4ebc1
Fix issue where we were changing semantics when converting to a colle…
CyrusNajmabadi Mar 4, 2025
50d57d7
Work item
CyrusNajmabadi Mar 4, 2025
d87dbf4
Update test
CyrusNajmabadi Mar 4, 2025
4a0428b
Update formatting tests
CyrusNajmabadi Mar 4, 2025
c9481b2
File scoped namespace
CyrusNajmabadi Mar 4, 2025
77b0c7d
Fix projects
CyrusNajmabadi Mar 4, 2025
6d20484
Update tests for error conditions where diagnostics are not corrected
sharwell Mar 4, 2025
7809289
Update formatting tests (#77418)
CyrusNajmabadi Mar 4, 2025
37ec9cd
Fix issue where we were changing semantics when converting to a colle…
CyrusNajmabadi Mar 4, 2025
2b7487a
undo IsImplementNotImplementedExceptionEnabledAsync change
maryamariyan Mar 5, 2025
8b53fe0
Fixes remaining tests
maryamariyan Mar 5, 2025
dbc3919
cleanup
maryamariyan Mar 5, 2025
3e3bd88
Add back referencedSymbols to API call to help with perf
maryamariyan Mar 5, 2025
16d2481
Gracefully comment when result is unexpected
maryamariyan Mar 5, 2025
3b0ba9a
Remove unused resource
maryamariyan Mar 5, 2025
8e3fb6a
Configure main-vs-deps (#77408)
jjonescz Mar 5, 2025
371953b
Merge feature 'partial events and constructors' to main (#77410)
jjonescz Mar 5, 2025
09648b4
Don't use an implicit-object if the lang version doesn't support it
CyrusNajmabadi Mar 5, 2025
9218409
Add workitem
CyrusNajmabadi Mar 5, 2025
b20b2cb
Simplify error messages
maryamariyan Mar 5, 2025
1f01c38
Fix bot name (#77436)
jjonescz Mar 5, 2025
531b504
Don't use an implicit-object if the lang version doesn't support it (…
CyrusNajmabadi Mar 5, 2025
384ce72
Cleanup tests
maryamariyan Mar 5, 2025
8066917
Auto merge PRs instead of just applying a label to them (#77438)
jjonescz Mar 5, 2025
ccbcec9
Small cleanup in the packages and editor factories (#77439)
ToddGrun Mar 5, 2025
79bebb1
Add missing entry for IDE3000
maryamariyan Mar 5, 2025
517d977
Add Missing Help Link
maryamariyan Mar 5, 2025
b6ed7a5
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 6, 2025
8aaa595
mid stage
maryamariyan Mar 6, 2025
9eb2e7c
Removes QuotaExceeds property, received as message
maryamariyan Mar 6, 2025
d088c36
Update signature
maryamariyan Mar 6, 2025
7127ff7
Merge remote-tracking branch 'origin/main' into dev/maryamariyan/repl…
maryamariyan Mar 6, 2025
2f934a6
Fix missed out warning
maryamariyan Mar 6, 2025
4eecdc6
Fix test correctness issue picked up by CI
maryamariyan Mar 6, 2025
44a65e1
Add logging
maryamariyan Mar 6, 2025
960a9cd
Apply PR feedback
maryamariyan Mar 7, 2025
2fdeaa1
Remove workaround of WPF bug
jasonmalinowski Mar 7, 2025
5f7de0e
Fix design time build error in Roslyn.VisualStudio.Setup
jasonmalinowski Mar 7, 2025
2cf1b5d
[Rename flyout] Fixed cropping issue on small screens
Mar 7, 2025
2967bbe
Fix design time build error in Roslyn.VisualStudio.Setup (#77463)
jasonmalinowski Mar 7, 2025
0e72446
Addressed feedback
Mar 7, 2025
7cc0ca1
Remove BoundConversion.OriginalUserDefinedConversionsOpt property (#7…
AlekseyTs Mar 7, 2025
624d5a5
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 10, 2025
55191f6
Update dev18 target branch (#77443)
jjonescz Mar 10, 2025
58c992f
Remove unnecessary imports
CyrusNajmabadi Mar 10, 2025
554a1dd
Remove unnecessary imports (#77481)
CyrusNajmabadi Mar 10, 2025
42dd426
[Rename flyout] Fixed cropping issue on small screens (#77466)
CyrusNajmabadi Mar 10, 2025
8458e61
Remove workaround of WPF bug (#77462)
jasonmalinowski Mar 10, 2025
f86f371
Fix run code analysis on solution not reporting results
sharwell Mar 10, 2025
80a6f1d
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 11, 2025
fea077a
[main] Update dependencies from dotnet/source-build-reference-package…
jjonescz Mar 11, 2025
fb0debe
Use HangMitigatingTimeout for cases where operations do not complete …
sharwell Mar 11, 2025
ee16ab3
Mark partial events and ctors as complete (#77525)
jjonescz Mar 11, 2025
e809937
some PR feedback
maryamariyan Mar 11, 2025
03c8917
spacing
maryamariyan Mar 11, 2025
cab1e65
Move test
maryamariyan Mar 11, 2025
3af16d7
Apply most remaining feedback
maryamariyan Mar 11, 2025
141c83d
Applies feedback
maryamariyan Mar 11, 2025
6f0dc5e
Add runtime async to official build (#77537)
333fred Mar 11, 2025
8012d9c
Signature now strictly uses MemberDeclarationSyntax
maryamariyan Mar 11, 2025
6a6e924
Update message for analyzer referencing newer compiler than host (#77…
RikkiGibson Mar 12, 2025
27405d2
Updates tests
maryamariyan Mar 12, 2025
37efb07
field implementation is not supported as method or property
maryamariyan Mar 12, 2025
336b591
Fix NFW due to invoking Workspace.RaiseEventForHandlers in the CA pro…
ToddGrun Mar 12, 2025
0c41f80
Implement field null resilience analysis (#77127)
RikkiGibson Mar 12, 2025
6acccaf
Fix incremental generator in deterministic key file (#77553)
jaredpar Mar 12, 2025
4e68dca
Apply PR feedback
maryamariyan Mar 12, 2025
1a2fa42
Disable downloading the runtime packages during restore and instead e…
ToddGrun Mar 12, 2025
e65c6c8
Fix run code analysis on solution not reporting results (#77501)
sharwell Mar 12, 2025
276ad7f
Simplifies assumptions - Only trigger fixer when service available
maryamariyan Mar 12, 2025
b59cffa
nit spacing
maryamariyan Mar 12, 2025
5b20ad7
Fix Stack Trace Explorer for additional documents (#77517)
ryzngard Mar 13, 2025
2c39ea7
Adds :bulb: `Implement Using Copilot` for `NotImplementedException` (…
CyrusNajmabadi Mar 13, 2025
adc21be
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Mar 13, 2025
9ad37db
Update PublishData.json (#77589)
jjonescz Mar 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 26 additions & 22 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@ configuration:

eventResponderTasks:

- description: Auto-approve auto-merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- labelAdded:
label: auto-merge
- or:
- activitySenderHasPermission:
permission: Admin
- isActivitySender:
user: dotnet-bot
issueAuthor: False
then:
- approvePullRequest:
comment: Auto-approval

- description: Auto-approve maestro PRs
triggerOnOwnActions: false
if:
Expand Down Expand Up @@ -80,7 +63,7 @@ configuration:
- addMilestone:
milestone: Next

- description: Auto-approve OneLoc PRs
- description: Auto-approve/merge OneLoc PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
Expand All @@ -94,8 +77,29 @@ configuration:
- isAction:
action: Opened
then:
- addLabel:
label: auto-merge
- approvePullRequest:
comment: Auto-approve
- enableAutoMerge:
mergeMethod: merge

- description: Auto-approve/merge automated merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
user: github-actions[bot]
issueAuthor: False
- titleContains:
pattern: "[automated] Merge branch"
isRegex: False
- isAction:
action: Opened
then:
- approvePullRequest:
comment: Auto-approve
- enableAutoMerge:
mergeMethod: merge

- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
Expand Down Expand Up @@ -147,7 +151,7 @@ configuration:
issueAuthor: False
- not:
isActivitySender:
user: github-actions
user: github-actions[bot]
issueAuthor: False
then:
- addLabel:
Expand All @@ -168,7 +172,7 @@ configuration:
issueAuthor: False
- not:
isActivitySender:
user: github-actions
user: github-actions[bot]
issueAuthor: False
- or:
- isAction:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Backport PR to branch
on:
issue_comment:
types: [created]
schedule:
# once a day at 13:00 UTC to cleanup old runs
- cron: '0 13 * * *'

permissions:
contents: write
issues: write
pull-requests: write
actions: write

jobs:
backport:
if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}
uses: dotnet/arcade/.github/workflows/backport-base.yml@main
with:
pr_description_template: |
Backport of #%source_pr_number% to %target_branch%

/cc %cc_users%

## Customer Impact

## Regression

- [ ] Yes
- [ ] No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]
31 changes: 31 additions & 0 deletions .github/workflows/main-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# See https://github.com/dotnet/arcade/blob/e52018a/Documentation/Maestro/New-Inter-Branch-Merge-Approach.md

name: Inter-branch merge
on:
schedule:
# Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
- cron: '0 */3 * * *'
workflow_dispatch:
inputs:
configuration_file_branch:
description: 'Branch to use for configuration file'
required: true
default: 'main'

permissions:
contents: write
pull-requests: write

jobs:
# The config does not support multiple flows from the same source branch,
# so we need to run separately for each duplicate source branch (https://github.com/dotnet/arcade/issues/15586).
merge:
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
with:
configuration_file_path: 'eng/config/branch-merge.jsonc'
configuration_file_branch: ${{ inputs.configuration_file_branch || 'main' }}
merge-2:
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
with:
configuration_file_path: 'eng/config/branch-merge-2.jsonc'
configuration_file_branch: ${{ inputs.configuration_file_branch || 'main' }}
Loading