Commit 2c03373
committed
ci: fix workflow-linter YAML parse error + self-flag bug
Combined fix:
1. The 'Add permissions...' multi-line echo on the old version had
a YAML literal-block indentation bug that crashed the workflow
file parser ('This run likely failed because of a workflow file
issue'). Collapsed to a single-line echo.
2. The action-pinning grep matched its own source line in the
workflow ('grep -rn "uses:"' contains 'uses:'). Anchored to
'^[[:space:]]+uses:' so it only matches workflow `uses:` lines.
Together these two changes restore workflow-linter from a permanent
failure state across the estate.1 parent 9f67ac2 commit 2c03373
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
0 commit comments