fix(ci): git stash before pull to avoid unstaged changes error
All checks were successful
BotServer CI / build (push) Successful in 1m29s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-29 12:56:42 -03:00
parent 0e260c9927
commit 4e19d786ac

View file

@ -21,6 +21,7 @@ jobs:
- name: Setup - name: Setup
run: | run: |
cd /opt/gbo/work/generalbots cd /opt/gbo/work/generalbots
git stash 2>/dev/null || true
OLD_REV=$(git rev-parse HEAD) OLD_REV=$(git rev-parse HEAD)
git pull --rebase || { git rebase --abort; git reset --hard origin/main; } git pull --rebase || { git rebase --abort; git reset --hard origin/main; }
NEW_REV=$(git rev-parse HEAD) NEW_REV=$(git rev-parse HEAD)