From 948e821970069fac3605f892acaa0d2d5e10d6b4 Mon Sep 17 00:00:00 2001 From: lwwwry558 <15367743964@163.com> Date: Thu, 23 Oct 2025 08:17:45 +0100 Subject: [PATCH] Create sync-upstream.yml --- .github/github/workflows/sync-upstream.yml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/github/workflows/sync-upstream.yml diff --git a/.github/github/workflows/sync-upstream.yml b/.github/github/workflows/sync-upstream.yml new file mode 100644 index 0000000000..b2d70fb055 --- /dev/null +++ b/.github/github/workflows/sync-upstream.yml @@ -0,0 +1,23 @@ +name: LibreTV Sync Upstream + +on: + schedule: + - cron: "0 3 * * *" + workflow_dispatch: + +permissions: + contents: write + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Add upstream + run: | + git remote add upstream https://github.com/LibreSpark/LibreTV.git + git fetch upstream + git merge upstream/main --allow-unrelated-histories -m "🔄 Sync from upstream" + git push origin main