diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 793081ae40597..88144dbeaa222 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -89,6 +89,11 @@ jobs: print-hash: true repository-url: https://test.pypi.org/legacy/ + # We overwrite any existing distributions with the same name and version. + # This is *only for CI use* and is *extremely dangerous* otherwise! + # https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates + skip-existing: true + pre-release-checks: needs: - build