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


##########
.asf.yaml:
##########
@@ -31,6 +33,23 @@ github:
     squash:  true
     merge:   true
     rebase:  true
+  protected_branches:
+    # no force push to master
+    master:
+#      required_pull_request_reviews:
+#        required_approving_review_count: 1
+#        dismiss_stale_reviews: false
+      required_status_checks:
+          # strict means "Require branches to be up to date before merging".
+          strict: false
+          # list of names of checks that must pass
+#          contexts:
+#            - Commit Validation on Linux/JDK 11

Review Comment:
   @neilcsmith-net status checks look at the `contexts` list and require all 
checks of that particular name to be green. We would need some meta-job for 
this to handle edge cases like `ci:no-build`. Otherwise we could have used 
"Cleanup Workflow Artifacts". Since if that one is green, everything is fine.



-- 
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