build-push.yml comment overstates: Forgejo 15 does load a same-file YAML anchor #14
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?
Purpose (correctness of a comment): the note in build-push.yml says no more than what was measured, so nobody unrolls a working YAML anchor because of it.
.github/workflows/build-push.yml(main, hand-lock job, ~line 101-103) says the pq image is "written twice across lint-and-test.yml and here: Forgejo 15 refuses a YAML anchor at load".The broad claim is wrong. Forgejo 15 on git.macula.io loads a same-file sequence anchor: macula-io/macula-rust run 3203, task 8246, executed
ci-images-dependency-advisories.yml, which shares its steps assteps: &advisories_steps(line 210) /*advisories_steps(line 1967), and those steps ran. The note nearly led to a review flag on macula-io/macula-ci-images PR 28 (same construct), which I withdrew.What is true here: an anchor cannot reach from one file into another (lint-and-test.yml to build-push.yml), so the duplication across the two files stands. The fix: reword the comment to say that, and drop "Forgejo 15 refuses a YAML anchor at load" unless something narrower (a merge key
<<:?) was actually measured. Ride the next change to this file.