1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2025-01-04 16:47:40 +01:00
smov/.github/workflows/syncProviders.yml

24 lines
512 B
YAML
Raw Normal View History

2024-03-31 16:24:48 +02:00
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 }}