Skip to content

Commit

Permalink
Add TW Rules definition
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-pie committed Aug 27, 2024
1 parent af61201 commit 07ce7d2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/tw-rules.yaml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions .github/workflows/connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
with:
python-version: '3.8'

- name: Check if python changes are present
id: check
env:
GITHUB_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
continue-on-error: true
run: ./scripts/ci_check_no_file_changes.sh python

- name: Check all connectors are installable
run: |
make all_connectors -e pw_acceptlicenses=y

0 comments on commit 07ce7d2

Please sign in to comment.