##// END OF EJS Templates
don't suggest backporting PRs against refs other than master
MinRK -
Show More
@@ -142,6 +142,8 b' def should_backport(labels=None, milestone=None):'
142 if not pr['merged']:
142 if not pr['merged']:
143 print ("Marked PR closed without merge: %i" % pr['number'])
143 print ("Marked PR closed without merge: %i" % pr['number'])
144 continue
144 continue
145 if pr['base']['ref'] != 'master':
146 continue
145 should_backport.add(pr['number'])
147 should_backport.add(pr['number'])
146 return should_backport
148 return should_backport
147
149
General Comments 0
You need to be logged in to leave comments. Login now