You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/03/29 16:15:43 UTC

[GitHub] [couchdb] bessbd commented on a change in pull request #3285: protect main branch with .asf.yaml config

bessbd commented on a change in pull request #3285:
URL: https://github.com/apache/couchdb/pull/3285#discussion_r603429290



##########
File path: .asf.yaml
##########
@@ -21,6 +21,8 @@ github:
     squash: true
     rebase: true
     merge: true
+  protected_branches:
+    main

Review comment:
       The referenced https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features#Git.asf.yamlfeatures-BranchProtection is telling me
   
   > All protected branches in the YAML must be dictionary entries. Thus, if you only want to disable force push from a branch, you can construct a fake dictionary like so:
   
   ```suggestion
       main: {}
   ```
   




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

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