a documented example is not an expression to evaluate
`v1` has failed at load, on every caller in the fleet, since0e1a56b. Not a test failure — a startup failure: zero jobs, zero seconds, and GitHub showing the file's PATH where its name should be, because it never got far enough to read `name:`. The `tests:` input's description quotes what a caller writes, and quoted it literally: `tests: ${{ github.ref_type != 'tag' }}` Prose or not, that is an expression, and it sits under `on.workflow_call.inputs` where NO context exists. GitHub validates the whole file before it schedules anything, refuses `github` there, and drops the run — so every repo importing `hanzoai/ci@v1` stopped running CI entirely while reporting only a red X with nothing inside it to read. The irony is exact:0e1a56bis titled "the test step has never run, and the gate that would have said so never ran either." It made that true of every gate at once. Say it without the sigil. Same meaning to a reader, nothing to evaluate. Confirmed with actionlint: clean at23862e5c(before the break), the same error at v1, v1.0.34 and v2, clean here. Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
@@ -73,7 +73,7 @@ on:
|
||||
A string sidesteps it on both planes with identical meaning, and the
|
||||
comparison is against 'false' rather than a truthiness test so that the
|
||||
expression callers already write — hanzoai/cloud's
|
||||
`tests: ${{ github.ref_type != 'tag' }}`, which renders the strings
|
||||
`tests:` set from `github.ref_type != 'tag'`, which renders the strings
|
||||
"true"/"false" — keeps working unchanged.
|
||||
type: string
|
||||
default: 'true'
|
||||
|
||||
@@ -73,7 +73,7 @@ on:
|
||||
A string sidesteps it on both planes with identical meaning, and the
|
||||
comparison is against 'false' rather than a truthiness test so that the
|
||||
expression callers already write — hanzoai/cloud's
|
||||
`tests: ${{ github.ref_type != 'tag' }}`, which renders the strings
|
||||
`tests:` set from `github.ref_type != 'tag'`, which renders the strings
|
||||
"true"/"false" — keeps working unchanged.
|
||||
type: string
|
||||
default: 'true'
|
||||
|
||||
Reference in New Issue
Block a user