File tree Expand file tree Collapse file tree 4 files changed +41
-7
lines changed
Expand file tree Collapse file tree 4 files changed +41
-7
lines changed Original file line number Diff line number Diff line change 1- # Merges any changes from release/prerelease to main (e.g. servicing changes)
1+ # See https://github.com/dotnet/arcade/blob/e52018a/Documentation/Maestro/New-Inter-Branch-Merge-Approach.md
22
3- name : Flow main to release/dev18.0
3+ name : Inter-branch merge
44on :
55 schedule :
6- # once a day at 13:00 UTC to cleanup old runs
7- - cron : ' 0 13 * * *'
6+ # Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
7+ - cron : ' 0 */3 * * *'
88 workflow_dispatch :
9+ inputs :
10+ configuration_file_branch :
11+ description : ' Branch to use for configuration file'
12+ required : true
13+ default : ' main'
914
1015permissions :
1116 contents : write
1217 pull-requests : write
1318
1419jobs :
15- check-script :
20+ # The config does not support multiple flows from the same source branch,
21+ # so we need to run separately for each duplicate source branch (https://github.com/dotnet/arcade/issues/15586).
22+ merge :
1623 uses : dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
1724 with :
18- configuration_file_path : ' .config/branch-merge.json'
25+ configuration_file_path : ' eng/config/branch-merge.jsonc'
26+ configuration_file_branch : ${{ inputs.configuration_file_branch || 'main' }}
27+ merge-2 :
28+ uses : dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
29+ with :
30+ configuration_file_path : ' eng/config/branch-merge-2.jsonc'
31+ configuration_file_branch : ${{ inputs.configuration_file_branch || 'main' }}
Original file line number Diff line number Diff line change 178178 "insertionCreateDraftPR" : true
179179 },
180180 "main" : {
181+ "nugetKind" : [
182+ " Shipping" ,
183+ " NonShipping"
184+ ],
185+ "vsBranch" : " main" ,
186+ "vsMajorVersion" : 17 ,
187+ "insertionCreateDraftPR" : true ,
188+ "insertionTitlePrefix" : " [d17.14 P3]"
189+ },
190+ "main-vs-deps" : {
181191 "nugetKind" : [
182192 " Shipping" ,
183193 " NonShipping"
Original file line number Diff line number Diff line change 1+ // Used by .github/workflows/main-merge.yml
2+ {
3+ "merge-flow-configurations" : {
4+ // Merge any main changes to main-vs-deps.
5+ "main" : {
6+ "MergeToBranch" : " main-vs-deps" ,
7+ "ExtraSwitches" : " -QuietComments"
8+ }
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ // Used by .github/workflows/main-merge.yml
12{
23 "merge-flow-configurations" : {
34 // Merge any main changes to release/dev18.0.
67 "ExtraSwitches" : " -QuietComments"
78 }
89 }
9- }
10+ }
You can’t perform that action at this time.
0 commit comments