You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/05/19 02:15:28 UTC

[GitHub] [incubator-inlong] healchow commented on a diff in pull request #4257: [INLONG-4251][GitHub] Improve GitHub configuration in `.asf.yaml`

healchow commented on code in PR #4257:
URL: https://github.com/apache/incubator-inlong/pull/4257#discussion_r876524260


##########
.asf.yaml:
##########
@@ -46,6 +46,43 @@ github:
   dependabot_alerts: true
   # disable the dependabot_updates
   dependabot_updates: false
+  protected_branches:
+    master:
+      required_status_checks:
+        # strict means "Require branches to be up to date before merging".
+        strict: false
+        # contexts are the names of checks that must pass for a merge to be allowed.
+        contexts:
+          - 'Build'
+          - 'Unit Test'
+          - 'Check license header'
+          - 'Docker build and push'
+          - 'Lint and test charts'
+      required_pull_request_reviews:
+        dismiss_stale_reviews: false
+        require_code_owner_reviews: true
+        required_approving_review_count: 1
+
+      # squash or rebase must be allowed in the repo for this setting to be set to true.
+      required_linear_history: false
+
+      required_signatures: false
+
+    # disable force push from the following branches
+    release-0.1.0: {}
+    release-0.2.0: {}
+    release-0.3.0: {}
+    release-0.4.0: {}
+    release-0.5.0: {}
+    release-0.6.0: {}
+    release-0.7.0: {}
+    release-0.8.0: {}
+    release-0.9.0: {}
+    release-0.10.0: {}
+    release-0.11.0: {}
+    release-0.12.0: {}
+    release-1.0.0: {}
+    release-1.1.0: {}

Review Comment:
   @shink PTAL, tks.



-- 
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: commits-unsubscribe@inlong.apache.org

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