chore: replace ambiguous Unicode characters in workflow YAML (Forgejo lint warning) #149
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The phenomenon
Forgejo's workflow YAML lint flags
_release.ymlandrelease.ymlfor ambiguous Unicode characters. These look-alike characters are a security concern in code contexts (a hyphen vs em-dash distinction can hide malicious content); Forgejo's lint surfaces them broadly even in YAML comments.Inventory
Non-ASCII characters present in the two flagged files:
—→αγ§Line counts: ~25 occurrences across
_release.yml+release.yml.Replacement scheme
—-(or--where the em-dash separates clauses)→->αalphaγgamma§sectionorsec.For the bash
echolines (2 sites in_release.yml), the substitution is cosmetic (changes the workflow log text); for comment lines, it's invisible at runtime. No behavioral change.Composition with #148 + AGENTS.md §2
_release.ymlis in the AGENTS.md §2 mechanism-of-touch list. After this PR merges, the in-cycle re-pin discipline applies (10+ embodied in this session; #124 backstop will surface red on push:main)._release.yml's ref line; that line shouldn't have Unicode anyway, but worth a sanity check during #148's implementation that no comment-Unicode gets reintroduced in the rewrite path.Other Unicode in the repo (out of scope here)
The Greek letter "path-α/path-γ" jargon is established in ADR-0007 + AGENTS.md + various comments outside the two flagged workflow files. Forgejo's lint isn't complaining about those (only the workflow YAMLs are linted by the workflow editor). This tracker scopes the cleanup to the lint-surfaced files only; broader Unicode sweep is a separate consideration if/when Forgejo's lint extends.
Implementation surface
.forgejo/workflows/_release.yml: ~20 substitutions (mostly em-dash → hyphen).forgejo/workflows/release.yml: ~6 substitutionsWhat this PR does NOT do
Refs