mbien commented on code in PR #4785:
URL: https://github.com/apache/netbeans/pull/4785#discussion_r996050785


##########
.asf.yaml:
##########
@@ -31,6 +33,16 @@ github:
     squash:  true
     merge:   true
     rebase:  true
+  # no force push to listed branches
+  protected_branches:
+    master:
+      required_status_checks:
+          # strict means "Require branches to be up to date before merging".
+          strict: false
+          # list of names of PR checks that must pass
+          contexts:
+            - CI_GREEN

Review Comment:
   this should give up force push protection for master and enable the status 
check requirement which is represented by the CI_GREEN job.
   
   I am scared to add travis there. If something doesn't work or the check is 
not recognized for some reason we lock ourself out.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to