mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Add providers merge workflow
This commit is contained in:
parent
ad9504a6a8
commit
9268652f2f
1 changed files with 23 additions and 0 deletions
23
.github/workflows/syncProviders.yml
vendored
Normal file
23
.github/workflows/syncProviders.yml
vendored
Normal file
|
@ -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 }}
|
Loading…
Reference in a new issue