Authenticate Forgejo draft asset downloads #6

Merged
freemovement merged 1 commit from codex/fix-workflow-token-asset-read into main 2026-11-10 22:52:58 +00:00
Owner

The publisher now downloads from the API-provided same-origin asset URL, but the workflow run still received HTTP 404 for the draft file when using Forgejo’s automatic token with the token authorization scheme. Use Basic token authentication for this web download route first, then fall back to the API token scheme. Keep the existing byte-for-byte check.

Verified with a read-only download of the current draft Cyprus asset using Basic authentication. Python syntax and diff checks pass; the workflow itself has not been rerun.

The publisher now downloads from the API-provided same-origin asset URL, but the workflow run still received HTTP 404 for the draft file when using Forgejo’s automatic token with the `token` authorization scheme. Use Basic token authentication for this web download route first, then fall back to the API token scheme. Keep the existing byte-for-byte check. Verified with a read-only download of the current draft Cyprus asset using Basic authentication. Python syntax and diff checks pass; the workflow itself has not been rerun.
freemovement deleted branch codex/fix-workflow-token-asset-read 2026-11-10 22:53:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eu-family/freemovement-plugin!6
No description provided.