Create sync-v17-auto.yml

This commit is contained in:
torsteinelv 2025-08-14 20:07:08 +02:00 committed by GitHub
parent c2f8de94e8
commit ba8e575457
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

31
.github/workflows/sync-v17-auto.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Auto-sync v17 into dev-v17-merge
on:
schedule:
- cron: '0 3 * * *' # Kjører daglig kl 03:00 UTC
workflow_dispatch: # Kan trigges manuelt
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout merge branch
uses: actions/checkout@v3
with:
ref: dev-v17-merge
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Add v17 remote
run: |
git remote add v17 https://github.com/blablabla/frigate-v17.git
git fetch v17
- name: Merge v17/main (favor v17 on conflicts)
run: |
git merge -X theirs v17/main -m "Auto-merge v17 into dev-v17-merge (favor v17)"
- name: Push updated branch
run: |
git push origin dev-v17-merge