Use the release environment in announce (#18733)

Otherwise, there is no approved deployment!
This commit is contained in:
Zanie Blue
2026-03-26 17:04:22 -05:00
committed by GitHub
parent 02036a8ba5
commit 96f329b8d2
+2
View File
@@ -293,6 +293,8 @@ jobs:
# "host" however must run to completion, no skipping allowed!
if: ${{ always() && needs.host.result == 'success' && (needs.custom-publish-pypi.result == 'skipped' || needs.custom-publish-pypi.result == 'success') && (needs.custom-publish-crates.result == 'skipped' || needs.custom-publish-crates.result == 'success') }}
runs-on: "depot-ubuntu-latest-4"
environment:
name: release
permissions:
"attestations": "write"
"contents": "write"