Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TW Rules definition #1177

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -19,6 +19,14 @@ jobs:
- name: Checking out repo
uses: actions/[email protected]

- 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: Set up Python 3.8
uses: actions/[email protected]
with:
Expand Down