Reject non-wiki URLs in WIKI_URL secret #7

Merged
fragmented merged 1 commit from initial-development into mainline 2026-05-20 08:24:36 +00:00
Owner

Run 165 demonstrated the failure mode: WIKI_URL pointing at
the main repo URL (not the .wiki.git sibling) causes the
publish step to push doc content INTO the code branch.
That polluted origin/mainline with 353 files at the root.

Guard against a repeat by requiring WIKI_URL to end in
.wiki.git. Wrong-shape URLs fail fast with an explanatory
message instead of corrupting the code branch.

Also corrects the example URL in the empty-secret error
message: the repo moved from applications/ to tools/.

Run 165 demonstrated the failure mode: WIKI_URL pointing at the main repo URL (not the .wiki.git sibling) causes the publish step to push doc content INTO the code branch. That polluted origin/mainline with 353 files at the root. Guard against a repeat by requiring WIKI_URL to end in .wiki.git. Wrong-shape URLs fail fast with an explanatory message instead of corrupting the code branch. Also corrects the example URL in the empty-secret error message: the repo moved from applications/ to tools/.
Reject non-wiki URLs in WIKI_URL secret
All checks were successful
Publish Documentation / publish (push) Successful in 2m21s
c5f1441831
Run 165 demonstrated the failure mode: WIKI_URL pointing at
the main repo URL (not the .wiki.git sibling) causes the
publish step to push doc content INTO the code branch.
That polluted origin/mainline with 353 files at the root.

Guard against a repeat by requiring WIKI_URL to end in
.wiki.git. Wrong-shape URLs fail fast with an explanatory
message instead of corrupting the code branch.

Also corrects the example URL in the empty-secret error
message: the repo moved from applications/ to tools/.
fragmented merged commit c5f1441831 into mainline 2026-05-20 08:24:36 +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
tools/guitar-prometheus!7
No description provided.