kwin commented on code in PR #14:
URL: https://github.com/apache/sling/pull/14#discussion_r2256986553


##########
scripts/update-asf-yaml.groovy:
##########
@@ -50,6 +50,19 @@ options.arguments().forEach { arg ->
         asfYaml['github'] = [:]
     }
 
+    if  ( ! asfYaml['github']['pull_requests'] ) {
+        asfYaml['github']['pull_requests'] = [:]
+    }
+
+    // delete branches on merge
+    asfYaml['github']['pull_requests']['del_branch_on_merge'] = true
+
+    // prevent force pushes to master branch

Review Comment:
   This also prevents deleting the branch



-- 
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: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to