From 1b2b47342b1ae7593d9493c83f8323a24a87eee9 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Tue, 28 Jul 2020 19:36:51 +0530 Subject: [PATCH] Adding the github action to sync release branch from CE --- .github/workflows/sync-community-repo.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/sync-community-repo.yml diff --git a/.github/workflows/sync-community-repo.yml b/.github/workflows/sync-community-repo.yml new file mode 100644 index 0000000000..4a68975bc4 --- /dev/null +++ b/.github/workflows/sync-community-repo.yml @@ -0,0 +1,23 @@ +# This workflow is responsible for syncing the release branch from the community edition repository +name: Sync Community workflow + +on: + schedule: + - cron: "0 * * * *" + +jobs: + repo-sync: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + ref: release + + # This step pulls the merges the latest release branch from the Appsmith CE into EE repository + - name: repo-sync + run: | + git remote add community git@github.com:appsmithorg/appsmith.git + git pull community release --no-edit + git push origin release +