Manual approval
One of the basic features of pipelines is automatic triggering, most often used to test the application on every push to the repository. However, in some cases you may want certain actions to run automatically, others requiring manual intervention – all within the same pipeline.
This is where the Approve Run action proves useful. For instance, you can use it to manually confirm the deployment to the server, provided the automatic tests have finished successfully:
Image loading...Example of pipeline using Wait for approval action
Configuration is very straightforward and requires adding the action and specifying who is allowed to resume the execution:
Image loading...Wait for approval configuration
Once the action is added, the pipeline execution will stop and wait for a developer with proper permissions to resume it:
Image loading...Approval prompt
Sep 23, 2024