From 541f763212452496c575af01e95b4cfa123bfb7e Mon Sep 17 00:00:00 2001 From: Louis Pieterse Date: Mon, 16 Sep 2024 08:49:46 +0100 Subject: [PATCH 1/2] Create CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..8382fd1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @transferwise/analytics-platform From 72d1fe8c75e9d7a5a48cbc239065444b87b39c07 Mon Sep 17 00:00:00 2001 From: Louis Pieterse Date: Mon, 16 Sep 2024 13:49:13 +0100 Subject: [PATCH 2/2] add tw-rules.yaml --- .github/tw-rules.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 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 0000000..f129e6f --- /dev/null +++ b/.github/tw-rules.yaml @@ -0,0 +1,41 @@ +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 + type: tests + - name: test_install_connectors + type: tests + - name: publish + type: tests + - name: e2e_tests_target_pg + type: tests + - name: e2e_tests_mariadb_to_sf + type: tests + - name: e2e_tests_pg_to_sf + type: tests + - name: e2e_tests_mg_to_sf + type: tests + - name: e2e_tests_s3_to_sf + type: tests + - name: e2e_tests_target_pg + type: tests + + sync-codeowners: + extraWriters: + - full-time-technical-staff + - machine-users \ No newline at end of file