Repository navigation
🐛 fix(ci): quote docs pip run to fix YAML startup_failure - #154
Merged
Merged
Conversation
e838ffe put `pip install --only-binary=:all: ...` on a single-line `run:` scalar; the `:all: ` colon-space is a YAML mapping indicator, so the Actions parser rejected docs.yaml -> startup_failure (0 jobs), leaving main's Docs check red since the commit landed. Move the command into a literal block scalar so colons are literal.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
mainhas a red Docs check. The.github/workflows/docs.yamlrun fails as a GitHub Actions startup_failure (0 jobs, no logs) — the workflow file is rejected before any job schedules.Root cause
Commit e838ffe put the pip install on a single-line
run:scalar:The
:all:(colon-space) is a YAML mapping-value indicator, so the parser rejects the whole file.actionlintreproduces it:line 76: mapping values are not allowed in this context.Fix
Move the command into a literal block scalar (
run: |), matching the "Detect docs changes" step in the same file. Colons are literal inside a block scalar; the supply-chain pin (--only-binary=:all: --require-hashes) is unchanged.Verification
actionlint .github/workflows/docs.yaml→ cleanpython3 -c "import yaml; yaml.safe_load(...)"→ parses OKFix-forward (not revert): preserves the legitimate
--only-binarybinary-only pin.