From 817bb142066bed40a5b87cf133e3e547b7a3bac2 Mon Sep 17 00:00:00 2001 From: Nikolay Galko Date: Sat, 21 Oct 2023 08:47:51 +0300 Subject: [PATCH] Create fork-sync.yaml --- .github/workflows/fork-sync.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/fork-sync.yaml diff --git a/.github/workflows/fork-sync.yaml b/.github/workflows/fork-sync.yaml new file mode 100644 index 000000000..a1764e976 --- /dev/null +++ b/.github/workflows/fork-sync.yaml @@ -0,0 +1,22 @@ +name: 'Sync fork with parent repository' + +on: + schedule: + - cron: '*/60 * * * *' # every 60 minutes + workflow_dispatch: # on button click + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: tgymnich/fork-sync@v1.8 + with: +# token: ${{ secrets.PERSONAL_TOKEN }} +# owner: galek # Fork user - default your user name +# repo: minio-alpine # Name of the forked repository - default current repo + base: master # Main branch + head: master # Fork branch + merge_method: merge + pr_title: 'Fork Sync with main repository' + pr_message: 'Fork Sync with main repository' +# ignore_fail: ''