mirror of
https://github.com/astral-sh/uv.git
synced 2026-05-06 08:56:53 -04:00
Add a comment explaining the release-gate workflow (#18816)
This commit is contained in:
@@ -53,9 +53,15 @@ env:
|
||||
|
||||
jobs:
|
||||
release-gate:
|
||||
# N.B. This name should not change, it is used for downstream checks.
|
||||
name: release-gate
|
||||
if: ${{ inputs.tag != 'dry-run' }}
|
||||
runs-on: ubuntu-latest
|
||||
# This environment requires a 2-factor approval, i.e., the workflow must be approved by another
|
||||
# team member. GitHub fires approval events on every job that deploys to an environment, so we
|
||||
# have a dedicated environment for this purpose instead of using the `release` environment.
|
||||
# We use a GitHub App with a deployment protection rule webhook to ensure that the `release`
|
||||
# environment is only approved when the `release-gate` job succeeds.
|
||||
environment:
|
||||
name: release-gate
|
||||
deployment: false
|
||||
|
||||
Reference in New Issue
Block a user