ci: use single quotes in the ci-green join expression - #6
Merged
Conversation
fd3c7e4 wrote join(needs.*.result, " "), which is valid YAML but invalid as a GitHub Actions expression: the expression language accepts single quotes only. The workflow failed to parse, so the run showed up named after the file rather than "CI" and no job ran at all. Caught by actionlint: ci.yml:93:48: got unexpected character '"' while lexing expression ... only single quotes are available for string delimiter [expression] Worth knowing for anything added here later: a YAML parser cannot catch this class of error, since the expression language sits a layer above YAML. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
fd3c7e4wrotejoin(needs.*.result, " "), which is valid YAML but invalid as a GitHub Actions expression — the expression language accepts single quotes only. The whole workflow failed to parse, so the run onmainshowed up named.github/workflows/ci.ymlinstead ofCIand no job ran.Caught by
actionlint:A YAML parser cannot catch this class of error — the expression language sits a layer above YAML.
This is also the first PR through the new branch protection on
main, soci-greenreporting green here is what proves the aggregate job actually works.🤖 Generated with Claude Code