From 0d5b924f8b011d7bc907ad728796dd0e91e81f97 Mon Sep 17 00:00:00 2001 From: Filtik Date: Thu, 2 Jul 2026 22:40:37 +0200 Subject: [PATCH] fix: force checkout main to avoid unstaged changes during rebase Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 74fb8e8..d5b4ef6 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -146,7 +146,7 @@ jobs: git config user.email "actions@noreply.local" cp manifest.json /tmp/manifest_updated.json git fetch origin main - git checkout main + git checkout -f main git pull --rebase origin main cp /tmp/manifest_updated.json manifest.json git add manifest.json