Updater 3.4 – Lifecycle Hardening #28

Merged
Masterluke77 merged 96 commits from feature/updater-3.4-lifecycle into main 2026-07-10 17:54:37 +00:00
Showing only changes of commit bce6536a1c - Show all commits
@@ -0,0 +1,46 @@
name: Patch Updater 3.4 Worker Head Interpolation
on:
push:
branches:
- feature/updater-3.4-lifecycle
permissions:
contents: write
concurrency:
group: patch-updater-34-worker-head
cancel-in-progress: false
jobs:
patch:
if: ${{ github.actor != 'github-actions[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: feature/updater-3.4-lifecycle
fetch-depth: 0
- name: Mehrdeutige Head-Interpolation reparieren
shell: python
run: |
from pathlib import Path
path = Path('scripts/updater/Vendoo.Updater.Worker34.ps1')
text = path.read_text(encoding='utf-8-sig')
count = text.count('$head:')
if count != 2:
raise SystemExit(f'Erwartet wurden exakt 2 $head:-Stellen, gefunden: {count}')
text = text.replace('$head:', '${head}:')
path.write_text(text, encoding='utf-8-sig', newline='\n')
- name: Patch committen und temporären Workflow entfernen
shell: bash
run: |
set -euo pipefail
rm -f .github/workflows/patch-updater34-worker-head.yml
git config user.name 'vendoo-updater-build'
git config user.email 'vendoo-updater-build@users.noreply.github.com'
git add --all
git commit -m 'fix: make updater head interpolation PowerShell-safe'
git push origin HEAD:feature/updater-3.4-lifecycle