.gitea/workflows/update.yml aktualisiert

This commit is contained in:
2025-12-20 19:13:43 +01:00
parent 17a5f96546
commit 81d468195b

View File

@@ -14,22 +14,10 @@ jobs:
# --- Debug / Sicherheit ---
- name: Show workflow context
run: |
echo "Branch: $(git branch --show-current)"
echo "Commit: $(git rev-parse HEAD)"
echo "User: $(whoami)"
echo "Host: $(hostname)"
echo "Date: $(date)"
# --- Sicherheitsbremse ---
- name: Ensure correct branch
run: |
BRANCH="$(git branch --show-current)"
if [ "$BRANCH" != "main" ]; then
echo "❌ This workflow must run on main (current: $BRANCH)"
exit 1
fi
# --- System Update ---
- name: Update packages
run: |