If the release workflow is re-run (e.g. retrigger), asset uploads fail because assets with the same name already exist.
Fix
Before uploading, check if an asset with the same name exists on the release. If so, delete it first (or use replace API if available).
## Problem
If the release workflow is re-run (e.g. retrigger), asset uploads fail because assets with the same name already exist.
## Fix
Before uploading, check if an asset with the same name exists on the release. If so, delete it first (or use replace API if available).
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.
Problem
If the release workflow is re-run (e.g. retrigger), asset uploads fail because assets with the same name already exist.
Fix
Before uploading, check if an asset with the same name exists on the release. If so, delete it first (or use replace API if available).