From b2e42e10eb4426e54746133805ab4bb352df6338 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Mar 2021 00:43:08 +0800 Subject: [PATCH] Add GitHub workflow to sync fork every hour --- .github/workflows/sync-fork.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync-fork.yml diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml new file mode 100644 index 0000000000..836828b45c --- /dev/null +++ b/.github/workflows/sync-fork.yml @@ -0,0 +1,20 @@ +name: sync-fork + +on: + schedule: + - cron: '*/45 * * * *' + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: | + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions" + git remote add atlassian https://bitbucket.com/atlassian/atlassian-frontend-mirror.git + git fetch atlassian + git rebase atlassian/master + git push --force