Commit c6972f6
ci: fix Comment PR Artifacts timeout and avoid duplicate build triggers
The Comment PR Artifacts workflow was timing out after ~12 minutes
(30 iterations × 10s sleep) while PR Build Validation runs regularly
take 17+ minutes, causing most PRs to show a failing CI check.
Changes:
- Increase comment workflow polling to 60 iterations × 20s sleep
(~20 min max) so it reliably waits for the full build to complete.
- Remove the 'edited' trigger from pr-build.yml to prevent duplicate
build runs when a PR title/body is edited. Editing a PR should not
rebuild; only code changes (synchronize) and lifecycle events need
builds. This also prevents the comment workflow from finding a
newer in-progress run when a completed one already exists.
Co-authored-by: openhands <openhands@all-hands.dev>1 parent d33a041 commit c6972f6
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | | - | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
82 | | - | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments