Create a "deployment" for the release-gate job (#18920)
We now enforce that a successful deployment was created to prevent a malicious actor from making this job pass without going through the release-gate environment
This commit is contained in:
@@ -64,7 +64,7 @@ jobs:
|
||||
# environment is only approved when the `release-gate` job succeeds.
|
||||
environment:
|
||||
name: release-gate
|
||||
deployment: false
|
||||
deployment: true
|
||||
steps:
|
||||
- run: echo "Release approved"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user