Commit a02cf50
fix: prevent empty matrix values when no projects change
When only non-code files (like README.md) change, the change detection
was outputting [""] instead of []. This caused jobs to run with empty
matrix values, leading to failures:
- cargo test failing with "could not find Cargo.toml"
- dotnet restore failing with "no project or solution file"
Now properly outputs [] when no projects are detected, preventing
jobs from running with empty matrix values.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3f083a1 commit a02cf50
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
75 | 89 | | |
76 | 90 | | |
77 | 91 | | |
| |||
0 commit comments