Skip to content

Commit f926c76

Browse files
authored
Only enable auto-merge in main (dotnet#56932)
* Only enable auto-merge in main * Update resourceManagement.yml
1 parent 137d04d commit f926c76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ configuration:
234234
- titleContains:
235235
pattern: Update dependencies
236236
isRegex: False
237+
- targetsBranch:
238+
branch: main
237239
then:
238240
- addLabel:
239241
label: area-infrastructure
@@ -252,6 +254,8 @@ configuration:
252254
- titleContains:
253255
pattern: Merge branch
254256
isRegex: False
257+
- targetsBranch:
258+
branch: main
255259
then:
256260
- addLabel:
257261
label: area-infrastructure

0 commit comments

Comments
 (0)