Commit ee86729
authored
ci: quote name containing colon to fix Scorecard workflow parser (#164)
The unquoted step name "Strong guard - detect release-please PRs (autorelease: pending label)"
contains "autorelease: pending" (colon + space).
YAML plain scalars cannot contain unquoted "word: " sequences (it looks like start of a new mapping key).
This was causing Scorecard's workflow parser to fail with:
"mapping values are not allowed in this context"
Affecting Pinned-Dependencies, Token-Permissions, Dangerous-Workflow, Packaging, SAST (all went to -1).
Quoting the name makes the scalar safe.
Verified with actionlint and local scorecard run (now gets 10/10 on the checks).
See similar fixes in other projects for names with special chars.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 4dadafa commit ee86729
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments