V8.03.512.2025.06.06
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -245,6 +245,15 @@ jobs:
|
||||
EOF
|
||||
fi
|
||||
|
||||
- name: 🚧 Stash local changes (including untracked).
|
||||
shell: bash
|
||||
env:
|
||||
GIT_SSH_COMMAND: "ssh -p 42842"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
### Temporarily store any local modifications or untracked files
|
||||
git stash push --include-untracked -m "ci-temp" || echo "✔️ Nothing to stash"
|
||||
|
||||
- name: 🔄 Sync with remote before commit using merge strategy.
|
||||
shell: bash
|
||||
env:
|
||||
@@ -263,6 +272,15 @@ jobs:
|
||||
git status
|
||||
git log --oneline -n 5
|
||||
|
||||
- name: 🛠️ Restore stashed changes.
|
||||
shell: bash
|
||||
env:
|
||||
GIT_SSH_COMMAND: "ssh -p 42842"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
### Apply previously stashed changes, falls vorhanden
|
||||
git stash pop || echo "✔️ Nothing to pop"
|
||||
|
||||
- name: 📦 Stage generated files.
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user