Fix YAML syntax: quote step names containing colons
Unquoted YAML plain scalars cannot contain ': ' (colon-space) because the parser interprets it as a nested key-value mapping. The two step names 'Dry-run patch: ZFSPlugin (PVE 8)' and 'Dry-run patch: apidoc.js (PVE 8)' triggered this, causing GitHub Actions to reject the workflow file before any jobs ran. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ba238eb7d6
commit
ce84a857c4
|
|
@ -56,14 +56,14 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Dry-run patch: ZFSPlugin (PVE 8)
|
||||
- name: "Dry-run patch: ZFSPlugin (PVE 8)"
|
||||
run: |
|
||||
patch --dry-run --ignore-whitespace \
|
||||
stable-8/perl5/PVE/Storage/ZFSPlugin.pm.orig \
|
||||
< stable-8/perl5/PVE/Storage/ZFSPlugin.pm.patch \
|
||||
&& echo "ZFSPlugin PVE-8 patch: OK"
|
||||
|
||||
- name: Dry-run patch: apidoc.js (PVE 8)
|
||||
- name: "Dry-run patch: apidoc.js (PVE 8)"
|
||||
run: |
|
||||
patch --dry-run --ignore-whitespace \
|
||||
stable-8/pve-docs/api-viewer/apidoc.js.orig \
|
||||
|
|
|
|||
Loading…
Reference in New Issue