Skip to content

Commit a70e25f

Browse files
committed
Use main-passing-tests to update platform. Slack notification if merge to main-passing-tests fails. Use deploy key for merging to main-passing-tests
1 parent a48b1a6 commit a70e25f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/push_to_canary.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ jobs:
497497
with:
498498
ref: main
499499
fetch-depth: 0
500+
ssh-key: ${{ secrets.CHRONON_REPO_DEPLOY_KEY }}
500501
- name: Update Stable Branch
501502
env:
502503
TARGET_BRANCH: main-passing-tests
@@ -524,7 +525,7 @@ jobs:
524525

525526

526527
on_fail_notify_slack:
527-
needs: [run_aws_integration_tests, run_gcp_integration_tests]
528+
needs: [run_aws_integration_tests, run_gcp_integration_tests, merge_to_main-passing-tests]
528529
if: failure()
529530
runs-on: ubuntu-latest
530531

.github/workflows/push_to_platform.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Push to Platform
22

33
on:
4-
pull_request:
5-
types: [closed]
6-
branches: [main]
4+
push:
5+
branches: [main-passing-tests]
76

87
jobs:
98
subtree-pull:
@@ -51,7 +50,7 @@ jobs:
5150
git remote add chronon [email protected]:zipline-ai/chronon.git || true
5251
5352
git fetch chronon main
54-
git subtree pull --prefix=chronon chronon main
53+
git subtree pull --prefix=chronon chronon main-passing-tests
5554
5655
- name: Push changes to platform
5756
run: git push origin main

0 commit comments

Comments
 (0)