fix(workflow): wiki-mirror jobs request the wiki: write token scope (#192)
CI / verify (push) Successful in 6m26s
CI / pwsh (push) Successful in 2m23s

The job token got HTTP 403 creating the first wiki page: Gitea gives the wiki its own
permission scope, which contents: write does not cover.

Files changed:
- .gitea/scripts/wiki-push.sh
- .gitea/workflows/release.yml
- .gitea/workflows/wiki-mirror.yml

Co-Authored-By: Claude Code <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
This commit is contained in:
torbenandClaude Code committed 2026-10-08 06:52:35 +02:00
1 parent 90ea0eea1b
commit 1a954be65d
3 files changed
+4 -2

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ jobs:
image: debian:trixie-slim
permissions:
contents: write
wiki: write
env:
PUBLIC_BASE_URL: https://gitea.nehmer.net