From 6a100fc90e70f685a56cf9f82646c4e55c2037ff Mon Sep 17 00:00:00 2001 From: Abdelaziz Mokhnache Date: Wed, 15 Jan 2025 01:13:11 +0100 Subject: [PATCH] add action to auto sync upstream branch with original docs daily --- .github/workflows/autosync.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/autosync.yml diff --git a/.github/workflows/autosync.yml b/.github/workflows/autosync.yml new file mode 100644 index 00000000..06b1d4a8 --- /dev/null +++ b/.github/workflows/autosync.yml @@ -0,0 +1,20 @@ +name: Auto Sync + +on: + schedule: + - cron: '0 0 * * *' # At 00:00. https://crontab.guru/ + workflow_dispatch: # on button click + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: TobKed/github-forks-sync-action@master + with: + github_token: ${{ secrets.RYU_CHO_ACCESS_TOKEN }} + upstream_repository: vuejs/docs + upstream_branch: main + target_repository: vuejs-translations/docs-ar + target_branch: upstream + force: false + tags: false \ No newline at end of file