Commit fd57110
authored
[CI] Fix crash when grep finds no matches (#18457)
## Why
- The original implementation would crash when grep returned a non-zero
exit code (pattern not found)
## How
- Add `|| true` to prevent early return
- Minor update: remove redundant stage definiation since we got default
stage config
## Result
if I don't have ci docker images installed
**before**
<img width="686" height="65" alt="image"
src="https://github.com/user-attachments/assets/b6ec2fdb-2bcc-4441-9e8f-fa391d54e17f"
/>
**after**
<img width="1207" height="304" alt="image"
src="https://github.com/user-attachments/assets/877321a2-88ca-4ac3-946c-2285b668323e"
/>1 parent 0225d67 commit fd57110
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | | - | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
0 commit comments