ci: resolve the action from the workspace root, and fetch for all three jobs #140
No reviewers
Labels
No labels
build-dist
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!140
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/fix-action-path"
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?
ci-rituals-readerandsecret/forge/rituals-readnow exist, so #139's fetch was tried for the first time on main — and never ran:uses: ./…resolves from the workspace root, and these workflows check this repo out intotoilville-design/, so the action was not at that path. The step failed soft, the checkout got an empty token, and the credential was never exercised. Carrying the checkout directory in the path fixes it.While here, the other two jobs get the same fetch.
udg-copy-coverage.ymlandtest-generator.ymlboth ask for aCI_TOKENsecret that exists on neither repo — which is why both have failed on every run since at least 2026-09-11. They need the same blocks from the same private repository for the same reason, so they now read the same short-lived token.udg-native-sync.ymlstill asks forCI_TOKENon purpose: it pushes generated tokens into Rituals, so it needs a write credential, andci-rituals-readeris deliberately read-only on one repository. Wiring that one up is separate work.Scope
block-validation.yml— the action path.udg-copy-coverage.yml,test-generator.yml— add the OpenBao fetch, replaceCI_TOKENwith the fetched value.Testing
yamllintacross all workflows,test_workflow_invariants.py(57 passing), and a grep confirming no expression sits inside arun:comment — one of those took a whole workflow down in #137.ci-rituals-readerreadswordpress/rituals-wp/blocks(200) and the repo archive checkout uses (200), and 404s on every other private repo.Impact Statement
CI only — no change to any generated artifact, the theme, or the site. Should turn three jobs green, two of which have been red for a fortnight, and puts the block-validation gate into real service for the first time.