From 194e8ae5796f63cbca6d0e5f0fd539f597ae879e Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 15 Mar 2024 15:14:08 -0700 Subject: [PATCH] chore(ci): Add confirmation to hotfix (#4132) Adds another step to give pause. --------- Signed-off-by: Jamil Co-authored-by: Andrew Dryga --- .github/workflows/hotfix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/hotfix.yml b/.github/workflows/hotfix.yml index ed3285a10..7876bf5cf 100644 --- a/.github/workflows/hotfix.yml +++ b/.github/workflows/hotfix.yml @@ -3,6 +3,9 @@ run-name: Triggered by ${{ github.actor }} on ${{ github.event_name }} on: workflow_dispatch: inputs: + confirmation: + description: "Are you SURE you want to deploy all changes from the selected commit to production?" + type: boolean tag: description: "Image tag to deploy. Defaults to the last commit SHA in the branch." type: string @@ -30,6 +33,7 @@ jobs: # client_tag: "latest" deploy-production: + if: ${{ inputs.confirmation }} needs: compatibility-tests secrets: inherit uses: ./.github/workflows/_deploy_production.yml