From fd6b2aafb029d9fe739693c0ac127c69d4b38f23 Mon Sep 17 00:00:00 2001 From: fithwum Date: Mon, 28 Jul 2025 08:22:52 -0700 Subject: [PATCH] test --- .gitea/workflows/pipeline.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index de9ad9f..885ef41 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -64,6 +64,11 @@ jobs: git config user.email "${{ secrets.GIT_EMAIL }}" git add ${{ env.DIGEST_FILE }} git commit -m "Update base digest to $CURRENT_DIGEST" || true + # Try to rebase onto latest remote + git pull --rebase || { + echo "[ERROR] Rebase failed — aborting." + exit 1 + } git push echo "changed=true" >> $GITHUB_OUTPUT fi