From 20364599fb38a6bf47ae08169cd3945ea17638b1 Mon Sep 17 00:00:00 2001 From: Louis Pieterse Date: Tue, 27 Aug 2024 16:09:50 +0100 Subject: [PATCH] Add TW Rules definition --- .github/tw-rules.yaml | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/tw-rules.yaml diff --git a/.github/tw-rules.yaml b/.github/tw-rules.yaml new file mode 100644 index 000000000..8cf14ece2 --- /dev/null +++ b/.github/tw-rules.yaml @@ -0,0 +1,50 @@ +runChecks: true + +actions: + repo-settings: + deleteBranchOnMerge: true + branch-protection-settings: + branches: + - name: master + dismissStaleReviews: true + numRequiredReviews: 1 + requireLinearHistory: true + requireConversationResolution: true + requireBranchUpToDate: true + restrictMerge: + teams: + - name: analytics-platform + - name: machine-users + checks: + - name: lint_and_test + appId: github-actions + type: tests + - name: test_install_connectors + appId: github-actions + type: tests + - name: publish + appId: github-actions + type: tests + - name: e2e_tests_target_pg + appId: github-actions + type: tests + - name: e2e_tests_mariadb_to_sf + appId: github-actions + type: tests + - name: e2e_tests_pg_to_sf + appId: github-actions + type: tests + - name: e2e_tests_mg_to_sf + appId: github-actions + type: tests + - name: e2e_tests_s3_to_sf + appId: github-actions + type: tests + - name: e2e_tests_target_pg + appId: github-actions + type: tests + + sync-codeowners: + extraWriters: + - full-time-technical-staff + - machine-users