From 602a82621a1e87cee530a13adb559d49f633223f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Thu, 27 Aug 2026 15:34:44 -0400 Subject: [PATCH] Run the package repo mirror sync from CI every six hours Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019hLK3wsDuKVAC37GgDqg6H --- .gitea/workflows/pkg-repo-sync.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/pkg-repo-sync.yml diff --git a/.gitea/workflows/pkg-repo-sync.yml b/.gitea/workflows/pkg-repo-sync.yml new file mode 100644 index 00000000..affa0242 --- /dev/null +++ b/.gitea/workflows/pkg-repo-sync.yml @@ -0,0 +1,24 @@ +name: pkg-repo-sync + +on: + schedule: + - cron: "17 */6 * * *" + workflow_dispatch: + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: quattro + + - name: Mirror upstream [omarchy] stable into the Gitea Arch registry + env: + PKG_SYNC_TOKEN: ${{ secrets.PKG_SYNC_TOKEN }} + run: | + set -euo pipefail + if ! command -v zstd > /dev/null; then + apt-get update -qq && apt-get install -y -qq zstd + fi + bash packages/sync-omarchy-repo.sh