diff --git a/.gitea/workflows/sync-from-mirror.yaml b/.gitea/workflows/sync-from-mirror.yaml index b9abbd9..ca1fd5d 100644 --- a/.gitea/workflows/sync-from-mirror.yaml +++ b/.gitea/workflows/sync-from-mirror.yaml @@ -2,7 +2,7 @@ name: Auto-Sync from Mirror on: push: repository: "Pluralflux/Pluralflux" - branches: [main,develop] + branches: ["*"] workflow_dispatch: @@ -20,7 +20,7 @@ jobs: run: | git remote add upstream https://engineering.sanya.gay/PluralFlux/PluralFlux.git git fetch upstream --prune - git reset --hard origin/main + git push origin "refs/remotes/upstream/*:refs/heads/*" --force-with-lease git merge upstream/main -m "Syncing from github" git push origin main \ No newline at end of file