Commit f173b91
committed
chore(workflow): minor upgrade-deps simplifications
- Drop the redundant `[ -s ]` check in `ensure_trailing_newline`. If
the file is empty, `tail -c1` returns nothing and `[ -n "" ]` is
already false, so the size check adds nothing.
- Trim the upgrade-deps regex-table comment to the only WHY worth
preserving (oxlint's trailing `\n` disambiguates from
oxlint-tsgolint). The callback-signature explanation just narrated
the code and added noise.
- Add `timeout-minutes: 180` to the `Check upgrade dependencies` step
as a belt-and-suspenders guard. With `--max-turns 200` and the
no-polling rule now in place, normal runs finish well under this
cap; a runaway will be killed by Actions instead of consuming the
full 6-hour job budget.1 parent f8045cf commit f173b91
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
0 commit comments