fix(nostr-sync): Schreibrecht fuer die Job-Summary ergaenzen

Der erste Lauf mit der neuen Summary scheiterte an den Deno-Permissions:
--allow-write=./logs deckt GITHUB_STEP_SUMMARY nicht ab, entsprechend kam
"Requires write access to .../step_summary_..." und die Summary wurde nie
geschrieben. Der Run blieb gruen, weil der Fehler abgefangen wird — die
Sichtbarkeit, um die es bei der Aenderung ging, fehlte aber komplett.

Beide Publish-Steps (diff und force-all) duerfen jetzt zusaetzlich in die
Summary-Datei des Runners schreiben.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FszJnDojSuh63ZEymWMBof
This commit is contained in:
Claude Code 2026-09-02 16:37:13 +02:00
parent 424cbe5d46
commit bd820371d7
1 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,8 @@ jobs:
CONTENT_ROOT: ${{ github.workspace }}/content-repo/Website/content
run: |
deno run \
--allow-env --allow-read --allow-write=./logs \
--allow-env --allow-read \
--allow-write=./logs,"$GITHUB_STEP_SUMMARY" \
--allow-net --allow-run=git \
cli.ts publish --force-all
@ -71,7 +72,8 @@ jobs:
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
run: |
deno run \
--allow-env --allow-read --allow-write=./logs \
--allow-env --allow-read \
--allow-write=./logs,"$GITHUB_STEP_SUMMARY" \
--allow-net --allow-run=git \
cli.ts publish