V8.03.144.2025.06.02

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-06-02 09:53:50 +02:00
parent ef8fbbc0dc
commit 77ad158da0

View File

@@ -141,16 +141,27 @@ jobs:
-o "${out}"
done
#- name: Sync with remote before commit to avoid Job Race Conditions.
# shell: bash
# env:
# GIT_SSH_COMMAND: "ssh -p 42842"
# run: |
# export GNUPGHOME="$(pwd)/.gnupg"
# git fetch origin master
# git rebase origin/master
# git status
# git log --oneline -n 5
- name: Sync with remote before commit to avoid Job Race Conditions.
shell: bash
env:
GIT_SSH_COMMAND: "ssh -p 42842"
run: |
set -euo pipefail
export GNUPGHOME="$(pwd)/.gnupg"
echo "🔒 Stashing local changes (if any) ..."
git stash push --include-untracked --message "pre-rebase stash" || true
echo "🔄 Fetching and rebasing from origin/master ..."
git fetch origin master
git rebase origin/master
echo "🎯 Restoring local changes from stash (if any) ..."
git stash pop || echo " Nothing to pop or merge conflict during stash pop."
echo "📋 Current status after rebase : "
git status
git log --oneline -n 5
- name: Stage generated files.
shell: bash