ci(release): android-release cannot be woken by a CI-created tag — make it dispatch-only #63
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_95e0d607"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #62 (already merged)
#62 landed the manual/batched release policy. It also wired the Android assets
with
push: tags: ['v*.*.*']onandroid-release.yml, on the theory that thetag
release.ymlcreates would wake it. Runtime evidence says it does not,so this PR corrects that before anyone relies on it:
release.ymlrun #218 (workflow_dispatch,bump=patch) created tagv0.2.1 and published the release with all four Linux assets —
https://forgejo.siriusdevops.com/sirius/onionwire/actions/runs/218
(release: https://forgejo.siriusdevops.com/sirius/onionwire/releases/tag/v0.2.1)
android-releaserun fired for that tag — nor for v0.2.0 (run #216).Both the API-created tag and a real
git pushof the tag from the versionjob were tried; neither produced a run.
services/actions/notifier_helper.godrops events whose doer is the Actions user — a push made with the CI's
token is such an event, so it is never dispatched back into Actions. The
historical hand-pushed tags that did fire tag-filtered workflows were
pushed by a human, which is why the trigger looked sound.
workflow_call, is not available either:reusable workflows only appear in the Forgejo docs from v12; this instance
reports
10.0.3+gitea-1.22.0.What changes
android-release.yml:push: tagsremoved — it isworkflow_dispatchonly. The
workflow_callblock stays declared for a future instance upgrade.Header comment records why.
docs/RELEASING.md+README: the release procedure is two dispatches —release(tag + Linux binaries), thenandroid-releasewith that tag(APK + AAR onto the same release).
Evidence for the Linux half (unchanged by this PR)
release.yml#206,dry_run=true— version + aarch64 + x86_64success, no tag, no release.https://forgejo.siriusdevops.com/sirius/onionwire/actions/runs/206
release.yml#218,bump=patch— tag v0.2.1 created by theworkflow (not by hand), both binaries + checksums:
onionwire-aarch64-unknown-linux-gnu24507576,.sha256102,onionwire-x86_64-unknown-linux-gnu26835360,.sha256101.release.yml#216,bump=minor— v0.2.0, same four assets.android-release#219 was dispatched withtag=v0.2.1and isbuilding at the time of writing; the assets attach to the v0.2.1 release.