From 9268652f2f7f384adb47d5c09eb6257b4bd98d49 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Sun, 31 Mar 2024 10:24:48 -0400 Subject: [PATCH] Add providers merge workflow --- .github/workflows/syncProviders.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/syncProviders.yml diff --git a/.github/workflows/syncProviders.yml b/.github/workflows/syncProviders.yml new file mode 100644 index 00000000..107f1537 --- /dev/null +++ b/.github/workflows/syncProviders.yml @@ -0,0 +1,23 @@ +name: Merge Providers + +on: + schedule: + - cron: "0 * * * *" # Run the job every hour + push: + branches: + - "*" + paths: + - .github/workflows/sync.yml + +jobs: + merge_providers: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Merge upstream changes (providers) + run: | + git fetch movie-web/providers + git merge movie-web/providers --no-edit + git push origin HEAD + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}