From 1cbd8b6960c35917507fc051f0cd33b188d40154 Mon Sep 17 00:00:00 2001 From: Maksym Titenko Date: Sun, 15 Aug 2021 13:40:18 +0200 Subject: [PATCH] Create sync-repo.yml --- .github/workflows/sync-repo.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/sync-repo.yml diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml new file mode 100644 index 0000000..bde92c8 --- /dev/null +++ b/.github/workflows/sync-repo.yml @@ -0,0 +1,21 @@ +name: sync-repo + +on: + schedule: + - cron: "*/20 * * * *" + workflow_dispatch: # on button click +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Fetch upstream + uses: 135e2/sync-upstream-repo@v0.1.5 + with: + #Git upstream repo + upstream_repo: https://github.com/cutefishos/terminal.git + upstream_branch: main + local_branch: main + github_token: ${{ secrets.GITHUB_TOKEN }}