From 589cf62a6e6b76942a860677f1fb1b5dfb7782c0 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Sun, 1 Feb 2026 21:06:30 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=9A=20ci:=20create=20automatic=20s?= =?UTF-8?q?ync=20between=20git=20platform?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-pr-from-mirror.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/auto-pr-from-mirror.yaml diff --git a/.github/workflows/auto-pr-from-mirror.yaml b/.github/workflows/auto-pr-from-mirror.yaml new file mode 100644 index 0000000..7697d92 --- /dev/null +++ b/.github/workflows/auto-pr-from-mirror.yaml @@ -0,0 +1,19 @@ +name: Auto PR from Local Git Mirror + +on: + push: + branches: + - mirror-main + +jobs: + create-pr: + runs-on: ubuntu-latest + steps: + - name: Create Pull Request + uses: peter-evans/create-pull-request@v8 + with: + token: ${{ secrets.GITHUB_TOKEN }} + branch: mirror-main + base: main + title: "Sync from local git mirror" + body: "Automated PR created from local git mirror branch main." From 0be954af015b703625fe9ca17ddf29f1f26951b7 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Sun, 1 Feb 2026 21:22:41 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=9A=20ci:=20upload=20sync=20code?= =?UTF-8?q?=20to=20github?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/sync-github.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/sync-github.yml diff --git a/.gitea/workflows/sync-github.yml b/.gitea/workflows/sync-github.yml new file mode 100644 index 0000000..5b66a2e --- /dev/null +++ b/.gitea/workflows/sync-github.yml @@ -0,0 +1,18 @@ +name: Sync to GitHub + +on: + push: + branches: + - main + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout from Gitea + uses: actions/checkout@v4 + + - name: Push to GitHub mirror-main + run: | + git remote add github https://vivy-agent:${{ secrets.GH_TOKEN }}@github.com/rafiarrafif/SyzneTV-backend.git + git push github HEAD:mirror-main --force