Commit ded7355
fix(ci): Fix tier pattern analysis workflow shell errors
Resolves bash conditional errors in tier-pattern-analysis.yml:
- Fixed "[: too many arguments" error by removing bc dependency
- Use awk for floating point comparison instead of bc
- Add head -n1 to ensure single value extraction
- Add regex validation for SAVINGS variable
- Properly quote $GITHUB_OUTPUT variable references
- Add fallback to 0 if extraction fails
This fixes the workflow errors:
- "Error: Unable to process file command 'output' successfully"
- "Error: Invalid format '81.2'"
- "[: too many arguments" on line 55
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent 9d0cf20 commit ded7355
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | | - | |
| 59 | + | |
53 | 60 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | | - | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
0 commit comments