Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.79 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.79 KB

github-actions-examples

FAQ:

How to create a github workflow where a step needs manual approval ?

step 1. Go to your repo settings / environment ( https://github.com/OWNER/REPO/settings/environments )
step 2. click on 'create new environment' ( https://github.com/OWNER/REPO/settings/environments/new )
step 3. type in anything you want to call your environment to, like production or 'this-environment-needs-manual-approval-before-it-runs' image step 4. once the environment is created, click on it and adjust the settings to match your needs.
Like 'require approval from' image step 5. make sure the created environments name is matching your environment: in the job step. image
https://github.com/burib/github-actions-examples/blob/main/.github/workflows/manual_approval_workflow.yml#L19

step 6. enjoy image
image
image
image