Commit 1d274b2
authored
chore(ci): gate tag-triggered AUR validation on release artifacts (#119)
* chore(ci): gate tag-triggered AUR validation on release artifacts
A tag push fires aur.yml together with the release builds that produce
the artifacts its PKGBUILDs download (path filters are not evaluated on
tag pushes), so the honkhonk-bin leg raced deb.yml to the release .deb
and 404ed on 0.1.0. On tag-triggered runs, poll each remote source URL
from makepkg --printsrcinfo until it exists (up to 20 min) before
building — the same wait-for-dependency pattern the appimage/deb/
flatpak workflows use to wait for the release. PR and branch runs skip
the gate and keep failing fast.
* chore(ci): fail closed when the artifact gate extracts no URLs
A broken grep pattern or failed makepkg would leave the URL list empty
and silently skip the gate, reintroducing the race this step exists to
prevent. Keep the || true (under bash -e a no-match grep would abort
the assignment before any diagnostic prints) and add an explicit
empty-check that exits with a clear error. CodeRabbit finding on #119.1 parent fa283f7 commit 1d274b2
1 file changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
61 | 97 | | |
62 | 98 | | |
63 | 99 | | |
| |||
0 commit comments