V8.03.144.2025.06.02
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -141,16 +141,27 @@ jobs:
|
|||||||
-o "${out}"
|
-o "${out}"
|
||||||
done
|
done
|
||||||
|
|
||||||
#- name: Sync with remote before commit to avoid Job Race Conditions.
|
- name: Sync with remote before commit to avoid Job Race Conditions.
|
||||||
# shell: bash
|
shell: bash
|
||||||
# env:
|
env:
|
||||||
# GIT_SSH_COMMAND: "ssh -p 42842"
|
GIT_SSH_COMMAND: "ssh -p 42842"
|
||||||
# run: |
|
run: |
|
||||||
# export GNUPGHOME="$(pwd)/.gnupg"
|
set -euo pipefail
|
||||||
# git fetch origin master
|
export GNUPGHOME="$(pwd)/.gnupg"
|
||||||
# git rebase origin/master
|
|
||||||
# git status
|
echo "🔒 Stashing local changes (if any) ..."
|
||||||
# git log --oneline -n 5
|
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.
|
- name: Stage generated files.
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user