Start APT publishing when a release draft with a pre-existing tag goes live. Gitea 28.1.0 maps this case to the edited Activity type, so the existing published trigger missed it.
Keep publication and manual retries available. The publisher still fetches the release and checks that it is not a draft before any upload, verifies the asset digest and Debian metadata, and never overwrites a different package at an existing version.
Documentation
Explain the Gitea behavior and why editing a published release can rerun package verification.
Verification
Tested the original and updated triggers side by side on an isolated Gitea 28.1.0 instance. Saving a draft started no run. Publishing it with an existing annotated tag started only the updated workflow. Direct publication without a pre-existing tag started both workflows. Manual dispatch still queued a run.
All seven APT publication safeguard tests passed. The isolated event test did not use any production credentials or publish packages.
## Bug fixes
- Start APT publishing when a release draft with a pre-existing tag goes live. Gitea 28.1.0 maps this case to the `edited` Activity type, so the existing `published` trigger missed it.
- Keep publication and manual retries available. The publisher still fetches the release and checks that it is not a draft before any upload, verifies the asset digest and Debian metadata, and never overwrites a different package at an existing version.
## Documentation
- Explain the Gitea behavior and why editing a published release can rerun package verification.
## Verification
- Tested the original and updated triggers side by side on an isolated Gitea 28.1.0 instance. Saving a draft started no run. Publishing it with an existing annotated tag started only the updated workflow. Direct publication without a pre-existing tag started both workflows. Manual dispatch still queued a run.
- All seven APT publication safeguard tests passed. The isolated event test did not use any production credentials or publish packages.
Closes #256.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug fixes
editedActivity type, so the existingpublishedtrigger missed it.Documentation
Verification
Closes #256.